Finite Element Analysis in Matlab with user-defined elements?

16 次查看(过去 30 天)
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,
Reschad
  2 个评论
KSSV
KSSV 2020-8-21
Always you can write your own code which works for anything. You can have a look on pde toolbox.
Alan Stevens
Alan Stevens 2020-8-22
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).

请先登录,再进行评论。

回答(2 个)

Reschad Wakili
Reschad Wakili 2020-8-24
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.

Ravi Kumar
Ravi Kumar 2020-8-24
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 个评论
Reschad Wakili
Reschad Wakili 2020-8-25
Hi Ravi,
thank you very much for your answer.
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?
Reschad

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by