Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Stop Condition using Probe Point in Time-Dependent Study

Please login with a confirmed email address before reporting spam

Hello,

I'm trying to use a stop-condition in a time-dependent structural mechanics study. My issue is that the simulation time will vary greatly depending on the combination of parameters used in my parametric study, so I want to be able to limit the simulation time to what is needed for each specific case.

How I have been trying to do things is use: "if(ppb1 <= 1e-6 && t >= 1e-3, -1, 1)", or basically: run the simulation for at least 1[ms], and then continue running after that point if the probe value drops below 1[um] (ppb1 records "solid.disp" at a specific point of interest in my model). What happens, however, is whenever t reaches 1[ms], the simulation stops, suggesting that ppb1 ALWAYS evaluates to less than 1[um]. This simply isn't the case, although it certainly starts at 0 (being at rest initially).

Is there some special way to make sure the probe value point is evaluated at the latest time step? Is there some other way I can get around this hurdle?

Thanks for any help you can offer, it is greatly appreciated!

0 Replies Last Post Jun 17, 2013, 9:28 p.m. EDT
COMSOL Moderator

Hello Kenton Hamaluik

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.