Hi,
I'm first inserting 5 particles which shall not calculate contact forces with the implemented mesh, so I do the following
create_atoms 2 single 0 0 0.635
create_atoms 2 single 0 0 0.7
create_atoms 2 single 0 0 0.855
create_atoms 2 single 0 0 0.805
create_atoms 2 single 0 0.1 0.7
group velg id 1 2 3 4 5
fix ins all insert/pack seed 5330 distributiontemplate pdd1 &
maxattempt 200 insert_every once overlapcheck yes all_in yes vel constant 0. 0. 0. &
region reg volumefraction_region ${startvol}
group nve_group subtract all velg
fix mole nve_group mesh/surface/stress file mesh/molegeogrob.stl type 3 heal auto_remove_duplicates scale 0.001 move 0.0 0.0 ${cylheight} stress on #wear finnie
fix molemesh nve_group wall/gran model hertz tangential history rolling_friction epsd2 mesh n_meshes 1 meshes mole store_force yes#7 meshes mole bottom top sidex1 sidex2 sidey1 sidey2 store_force yes
But the 5 inserted particles at the beginning are still pushed away by the mesh. So what is wrong in the code?
kind regards
Joshua
ckloss | Mon, 02/22/2016 - 11:42
Hi Joshua,
Hi Joshua,
the answer is:
"The subtract style takes a list of two or more existing group names as arguments. All atoms that belong to the 1st group, but not to any of the other groups are added to the specified group."
Best wishes
Christoph