Hi cfdemers,
I added the command
lattice sc 1
in order to add more particles randomly in settlingTest by
create_atoms 1 random 10 1 NULL units box
However, I got an error message in DEM log file
// run_cfdemSolverPisoExplicit_settlingTest_DEM //
/mycfdem/settlingTest/DEM
LIGGGHTS 1.1.10 based on lammps-10Mar10
Created orthogonal box = (0 0 0) to (0.1 0.1 0.1)
1 by 1 by 1 processor grid
Lattice spacing in x,y,z = 1 1 1
ERROR: Illegal create_atoms command
Any idea?
Thanks.
Ruo
cstoltz | Fri, 03/11/2011 - 06:06
create_atoms
Ruo,
The random setting was incorporated into LAMMPS after the porting to LIGGGHTS, and isn't in the current release of LIGGGHTS. You may be able to just take the create_atoms files from the src directory of LAMMPS and overwrite the corresponding LIGGGHTS files and recompile. Haven't tried this, so not sure if it would work or not.
Christoph - any obvious problems with this idea?
Best regards,
Chris
ckloss | Wed, 03/16/2011 - 12:34
Chris is right. Look at the
Chris is right. Look at the create atoms doc for LIGGGHTS.
A re-branch of LIGGGHTS based on a more current LAMMPS version will be available later this year
Christoph
cstoltz | Thu, 03/17/2011 - 01:24
For the record, I tried this
For the record, I tried this out today and it worked fine. Just dropped in the create_atoms file from the LAMMPS src directory into LIGGGHTS, recompiled, and everything was fine.
Chris
ckloss | Thu, 03/17/2011 - 11:22
Good to hear... however I
Good to hear... however I would like to add that this is of course at your own risk...
There is no guarantee that the recent LAMMPS files are compatible. This may lead to buggy behavior, even if it compiles.
Best,
Christoph
yaman | Mon, 12/05/2011 - 16:26
hello Chris , i have the same
hello Chris ,
i have the same problem , whatever i do for create_atoms with random style i got "illegal create_atoms command"
- i already downloaded the latest version of liggghts 1.5 and still have the same problem ,
- i tried to copy two file ( create_atoms.cpp , create_atoms.hhp) from LAMMPS src directory to my ligggths src directory
i got problem in compilation !
any idea !!
thankx