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!
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!