Run simulation until special event occurs

PaulWinkler's picture
Submitted by PaulWinkler on Tue, 07/30/2013 - 22:22

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

willchennewcastle's picture

willchennewcastle | Wed, 07/31/2013 - 01:08

You might want to try
if "" then ""
have a look the manual

good luck
Wei

ckloss_ | Mon, 08/05/2013 - 19:29

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

richti83's picture

richti83 | Wed, 07/31/2013 - 20:51

I would support this feature request
run until ..
.. force equal something
.. velocity smaller than nothing
... something happens.

At the moment I use loop, run pre no post no and if conditions but this is not very handy for event driven scripts
see http://cfdem.dcs-computing.com/?q=system/files/howto.pdf chapter 1

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
but I have 7 years user experience using LIGGGHTS®, ParaView and LINUX