Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Use Matlab to realise iterations in one time step

Please login with a confirmed email address before reporting spam

Dear all,

I would like to use Matlab to realise iterations in one time step.

For example, the Youngs modulus E has a linear relationship with stress S, E=a*S. Before the first iteration, the E=E0, then we calculate the S0, the E0 changes to E1 according to stress; once E1 is obtained, S0 would redistribute to form S1.......until the Sn-S(n-1)<a certain value, then go to next time step.

I don't know how to write the code for this in Matlab, could anybody help me out? Thanks.

Regards,
Albert

0 Replies Last Post 14 dic 2015, 22:45 GMT-5
COMSOL Moderator

Hello Tianhang Bai

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.