particle injected continuously in cfdemcoupling

Submitted by openfoam on Wed, 12/19/2012 - 17:15

I tried to use the insert/steam or insert/pack command to make the particle inject into the reactor by a certain velocity continuously, so I write these commands in the in.XXX file:

#insert-stream version
fix ins1 nve_group insert/stream seed 524 distributiontemplate pdd1 maxattempt 100 nparticles 1000000 particlerate 400 overlapcheck yes all_in yes vel constant 0.0 0.0 0.182 insertion_face infacetop extrude_length 0.006
#insert-pack version
#fix ins1 nve_group insert/pack seed 1001 distributiontemplate pdd1 vel constant 0. 0. 0.182 insert_every 1 overlapcheck yes all_in yes particles_in_region 40 region bc1

#dump commands
dump dmp all custom 5000 ../DEM/post/dump*.meshGran id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius
#run
run 1

when I simulate it only in liggghts, the particle can be injected continiously, but when I use these comand during the cfdemcoupling, it doesn't work. Particles are only inserted once.

I don't kown how to fix it.
One reason I guess, when I run the cfdemcoupling, only 1 DEM step is executed, it's too short to insert particles for the insert/stream and insert/pack command. So I modified the run steps No., just as following:

fix ins1 nve_group insert/pack seed 1001 distributiontemplate pdd1 vel constant 0. 0. 0.182 insert_every 100 overlapcheck yes all_in yes particles_in_region 40 region bc1
run 100

It did not work too.

Thanks
Zhao