insert/stream "start" keyword

Submitted by kalei on Mon, 05/30/2016 - 15:49

I want start particle insertion after a certain time. I assume this should work with the "start" keyword of insert/stream. However, even if I use the "start" keyword, paticle insertion starts from the beginning. My code looks the follwing:
fix ins nve_group insert/stream seed 5330 start 1e4 distributiontemplate pdd1 &
nparticles 10000 massrate 1e-1 overlapcheck yes all_in no vel constant 0.0 0.0 -1.0 &
insertion_face partIn extrude_length 1e-2
Can anybody give me a hint what's the reason why the "start" option does not work correct?

aaigner's picture

aaigner | Mon, 06/06/2016 - 17:22

Hi kalei,

I am confused by the keyword order. As the documentation says it should be somethink like:

fix ins nve_group insert/stream seed 5330 distributiontemplate pdd1 &
start 1e4 nparticles 10000 massrate 1e-1 overlapcheck yes all_in no vel constant 0.0 0.0 -1.0 &
insertion_face partIn extrude_length 1e-2

Bests
Andreas

kalei | Tue, 06/07/2016 - 11:27

Hi Andreas,
I already got it working. The problem was the number format. With "start 10000" it works.
Best
kalei

aaigner's picture

aaigner | Fri, 06/10/2016 - 00:22

Hi Kalei,

thanks. I will check the src-code, why it was not working with 1e4.

Best
Andreas