I imported atoms into my system with a read_dump command but the outcome was
Reading snapshot from dump file …
orthogonal box = (0 0 0) to (2 2 2)
0 atoms before read
32 atoms in snapshot
0 atoms purged
0 atoms replaced
0 atoms trimmed
0 atoms added
0 atoms after read
and I don’t get why the atoms weren’t added. I seem to remember I was able to use the dump command to read a .lammpstrj file snapshot and use it as my system geometry
the input:
---------- Initialize Simulation ---------------------
clear
units metal
dimension 3
boundary p p p
atom_style atomic
#-----------------
lattice fcc
region box block 0 2 0 2 0 2 units lattice
create_box 2 box
mass 1 100
mass 2 100
#-----------------
read_dump bestcorr.lammpstrj 1 type x y z box yes replace yes
variable natoms equal count(all)
print “$(v_natoms)”
and the print commant printed 0
the dump file is attached.
Thank you in advance
bestcorr.lammpstrj (1.2 KB)