particle inserted continiously

Submitted by openfoam on Tue, 01/08/2013 - 11:20

My IE explorer cannot display the whole captcha image, I cannot reply, so I create a new topic. The following files are the log file and the in.meshGran file. During the cfdemcoupling, the atoms number became 0. But it works fine in the liggghts.

AttachmentSize
Binary Data log file and in.meshGran file892.47 KB

Somnath | Tue, 01/08/2013 - 21:55

Hi,

I have been able to insert particle streams during cfdemcoupling. Here is an excerpt of the code I am using. Hope it helps!

cheers
Som

#particle distributions
fix pts1 all particletemplate/sphere 1 atom_type 1 density constant 1000 radius constant 0.001
fix pts2 all particletemplate/sphere 1 atom_type 1 density constant 1000 radius constant 0.001
fix pdd1 all particledistribution/discrete 1. 2 pts1 0.3 pts2 0.7

#region and insertion
fix ins_mesh all mesh/surface file face_simple_small.stl type 1 scale 0.001 move -20e-3 0. 0.
group nve_group region reg
fix ins nve_group insert/stream seed 10001 distributiontemplate pdd1 maxattempt 100 nparticles 10000 vel constant 0.1 0. 0. particlerate 250 overlapcheck yes insertion_face ins_mesh extrude_length 0.009

#cfd coupling
fix cfd all couple/cfd couple_every 100 mpi
fix cfd2 all couple/cfd/force

#apply nve integration to all particles that are inserted as single particles
fix integr nve_group nve/sphere

#screen output
fix ts all check/timestep/gran 1000 0.1 0.1
compute 1 all erotate/sphere
thermo_style custom step atoms ke c_1 f_ts[1] f_ts[2] vol
thermo 10000
thermo_modify lost ignore norm no
compute_modify thermo_temp dynamic yes

#insert the first particles so that dump is not empty
dump dmp all custom 10000 ../DEM/post/dump.liggghts_restart id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius

run 1