Run simulation until special event occurs

Submitted by PaulWinkler on
PaulWinkler

In reply to by anonymous_stub (not verified)

Thanks for your help. That's the way I mentioned, but you can use this only between runs (best in run N every n). To be more precise, I am searching for something like run ... until ...

Regards,

Paul

Wed, 31 Jul 2013 - 12:09 Permalink
ckloss_

In reply to by anonymous_stub (not verified)

Hi Paul,

something like "run until" would be nice, but at the moment it's not possible out-of-the box. The only possibility is to run a couple steps and then check if the condition is met as outlined before

Best
Christoph

Mon, 5 Aug 2013 - 19:29 Permalink
PaulWinkler

Hi all,

Christian is right, you can speed up your calculation with 'pre no' if you just want to look for an event. But you have to be careful with the option, if you modify the model between the runs, changes made are ignored.
Anyway, 'post no' cleans the output.

Regards,

Paul

Thu, 1 Aug 2013 - 13:04 Permalink

Hi,

I want to generate a dense packing with fix insert/pack and particle growing. This is very common and no problem with fix adapt. The growing ends when the particles have a reached a given pressure. The pressure is calculated by compute pressure. Since I have a lot of particles and slightly CPU I wonder if there is something new in interrupting a run when a special event occurs to save CPU time? Or is run N every n, check with if and going on else dump results and quit still the preferred solution?

Regards,

Paul