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

조회 수: 2(최근 30일)
댓글: Reschad Wakili 2020년 8월 25일
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표시 이전 댓글 수: 1숨기기 이전 댓글 수: 1
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개)

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표시 이전 댓글 수: -1숨기기 이전 댓글 수: -1

댓글을 달려면 로그인하십시오.

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표시 없음숨기기 없음
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?

댓글을 달려면 로그인하십시오.

### 범주

Find more on Eigenvalue Problems in Help Center and File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by