insert/stream

Submitted by kalei on Thu, 10/19/2017 - 07:29

Hallo,
I want to insert particles with a mass rate of 1e-6kg/s to my computational domain. I tried to do so by using the following command:

fix ins nve_group insert/stream seed 5330 distributiontemplate pdd1 &
massrate 1.0e-6 start 50000 overlapcheck yes all_in no vel constant 0.0 -10.0 0.0 &
insertion_face partIn extrude_length 200e-6

If I do so LIGGGHTS asks me to define either 'nparticles' or 'mass'. I do not see why this is necessary, as to my understanding by massrate, velocity and extrude_length particle insertion should already be defined?

Best
Karl-Heinz

paul | Thu, 10/19/2017 - 09:37

The 'mass' option specifies the total mass to be inserted. If you don't plan on stopping the insertion, just use 'mass INF' or any sufficiently large mass.