# Finite Element Analysis in Matlab with user-defined elements?

8 Ansichten (letzte 30 Tage)
Reschad Wakili am 21 Aug. 2020
Kommentiert: Reschad Wakili am 25 Aug. 2020
Dear Matlab-community,
I programmed a non-linear electromechanical material behavior in Matlab and would like to implement it into a Finite Element Process.
This gives rise to two questions:
1. Is there an additional FEM-package to solve boundary value problems in Matlab?
2. Is it possible in it to implement user-defined elements as Matlab functions (analogous to user-elements in Abaqus)?
I look forward to any help and answer
Best regards and many thanks in advance,
##### 2 Kommentare1 älteren Kommentar anzeigen1 älteren Kommentar ausblenden
Alan Stevens am 22 Aug. 2020
Get hold of the book: "The Finite Element Method using Matlab", by Young W. Kwon and Hyochoong Bang, CRC Press, 1997, which tells you everything you need to know about constructing finite elements in MATLAB! (There is probably a more recent edition these days).

Melden Sie sich an, um zu kommentieren.

### Antworten (2)

Reschad Wakili am 24 Aug. 2020
Thanks for your answers. The idea is to use something that already exists for Matlab, not to design something completely new.
Otherwise I could translate my code into Fortran and work with Abaqus.
##### 0 Kommentare-1 ältere Kommentare anzeigen-1 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

Ravi Kumar am 24 Aug. 2020
You can define user defined functions of space, time, and solution using PDE Toolbox generic workflow, check out the following links to get started:
Check the example, and look at the function definition:
cCoef = @(region,state) 1./sqrt(1+state.ux.^2 + state.uy.^2);
You can also define it a regular function if its more complicated than one line.
Regards,
Ravi
##### 1 KommentarKeine anzeigenKeine ausblenden
Reschad Wakili am 25 Aug. 2020
Hi Ravi,
I have an approach for a nonlinear material behavior. Based on the weak form, I derived the appropriate FE-stiffness-matrix. Is it possible in the PDE Toolbox to adapt the associated stiffness matrix to user-specific requirements?

Melden Sie sich an, um zu kommentieren.

### Kategorien

Mehr zu Structural Mechanics finden Sie in Help Center und File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by