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 ?
Posted 21 juin 2022, 04:19 UTC−4 Modeling Tools & Definitions, Studies & Solvers, Physics Interfaces Version 6.0 0 Replies
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?
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.