Hi all,
I want to create two particles with two different id using the following command
create_atoms 1 single 0.95 0.4 0.5
set atom 1 type 1 diameter 0.02 density 2500 vx 2 vy 0 vz 0
create_atoms 2 single 0.99 0.4 0.5
set atom 1 type 2 diameter 0.02 density 2500 vx 0 vy 0 vz 0
but when I trying to compile the script file it says
ERROR: Invalid atom type in create_atoms command (../create_atoms.cpp:102)
Can anyone please enlighten me that waht I am doing wrong?
Thanks and regards,
Sourav
richti83 | Fri, 04/26/2019 - 08:43
create_atoms type style args keyword values
the two in
create_atoms 2
refers to the atom type not to the id. The ID is auto-inceremented when created.http://www.cfdem.com/media/DEM/docu/create_atoms.html
sourav0921 | Fri, 04/26/2019 - 09:07
Hi richti83,
Hi richti83,
I am new in LIGGGHTS. Can you please tell me why it shows invalid atom type?
Thanks and regards,
Sourav