Dumpfile / Paticle / Time of creation

Submitted by RobertG on Fri, 09/26/2014 - 14:42

Hello,
I'm new at Liggghts. So far I worked with the continuous mixer tutorial.
After a few tries and errors, I managed it, to work under Liggghts 3.0.3.
At the moment I try to get the time of creation of every particle to be written in the dump file.
I searched for some clues, but I didn't find anything.

I hope somebody can help me.

Thanks.
RobertG.

aaigner's picture

aaigner | Tue, 09/30/2014 - 10:12

Hi RobertG,

Sorry, but the time of creation is not saved at all. Maybe, a possible workaround is the ID of the particles. In general it is unique and increasing. If you check your dump-files for the first appearance of each ID, you get at least an idea, when they were generated. (E.g. Between dump_2000.liggghts and dump_3000.liggghts) In addition the insertion commands work with an every option. You can adapt your dump command to write a file every time new particles were generated.

Cheers
Andreas

RobertG | Mon, 10/13/2014 - 11:39

Hi Andreas,
thanks a lot. It helped.

Best regards
Robert

ckloss's picture

ckloss | Wed, 10/22/2014 - 10:55

Hi Robert,

>>Sorry, but the time of creation is not saved at all.
This is correct, with one exception: if fix insert/stream is used, there is an internal variable which stores the timestep release of the particles into the simulation
It can be accessed via f_release_fix_insert_stream in a dump command

Best wishes
Christoph

RobertG | Wed, 11/19/2014 - 12:47

Cool, thanks.
I will try it.

Best regards
RobertG