With LIGGGHTS 3.8.0 the script below returns the error
"ERROR on proc 0: Random number generation: It is required that the random seed value is > 10000 and a prime number.
The random seed used was 38914"
What's happening? The random seed provided is not 38914, that's the number of particles! Is it a bug?
units micro
atom_style granular
atom_modify map array
boundary f f f
newton off
communicate single vel yes
variable boxsize equal 10.0
region mybox block -${boxsize} ${boxsize} -${boxsize} ${boxsize} -${boxsize} ${boxsize} units box
create_box 1 mybox
create_atoms 1 random 38914 38917 NULL
paul | Thu, 08/30/2018 - 18:35
This is a bug.https://github
This is a bug.
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/28301df8853491784b1...
In this line and a line below, change arg[2] to arg[3].
I've never seen anyone use create_atom with liggghts before, I'd recommend using fix insert/pack. I don't think create_atom checks for particle overlaps when inserting:
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/28301df8853491784b1...