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.

How to add stopping condition which considers a change in output with respect to time ?

Please login with a confirmed email address before reporting spam

I use the micromagnetic module developed by Weichao Yu (see details here https://www.comsol.com/blogs/micromagnetic-simulation-with-comsol-multiphysics/). But my question is generic and related to Stop Condition in Time-dependent study. I want to give the stop the computation when the Dependent Variable is stable with respect to time. In perticular, I want to give the stop condition which is 'stop if the change in magnetization (i.e. mX, mY, mZ) at current time (t) and previous time, say at (t-timestep) is negligible, i.e. the magnetization is stable with respect to time'.

I want to know how to write the equation under 'stop condition' by calling the dependent variable value at the current time and previous time?


0 Replies Last Post 2022年6月21日 GMT-4 04:19
COMSOL Moderator

Hello Prabhanjan Kulkarni

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.