Hi all,
I was performing quick checks of crystal structures and noticed a particular issue. I construct a two element system, then perform a run 0 to compute the system pressure and energy.
If I use a MEAM potential (from the LAMMPS Potentials folder), I get 1.#QNAN errors for some of the atomic forces (and system pressures). If I deform the system slightly using a change box with remap, no errors. Returning the system to its initial state causes the errors to reappear.
I also tested single element MEAM, and a two element eam/fs and received no errors.
Below is a script that highlights this issue. I’m using the Windows 64 bit 2014-09-09 version of LAMMPS.
Thanks,
Lucas
boundary p p p
units metal
atom_style atomic
variable alat0 equal 3.12
lattice custom ${alat0} a1 1.0 0.0 0.0 a2 0.0 1.0 0.0 a3 0.0 0.0 1.0 &
basis 0.0 0.0 0.0 basis 0.5 0.5 0.5
region box block 0 3 0 3 0 3
create_box 2 box
create_atoms 1 box basis 2 2
#Test 1: 2 element system with MEAM gives #QNAN forces and pressures
pair_style meam
pair_coeff * * library.meam AlS FeS AlSiMgCuFe.meam AlS FeS
mass 1 26.981539
mass 2 58.933195
#Test 2: 1 element system with MEAM works fine
#pair_style meam
#pair_coeff * * library.meam AlS AlSiMgCuFe.meam AlS AlS
#mass * 26.981539
#Test 3: 2 element system with eam/fs works fine
#pair_style eam/fs
#pair_coeff * * AlFe_mm.eam.fs Al Fe
#mass 1 26.981539
#mass 2 58.933195
variable lx0 equal $(lx)
variable deltax equal 0.00001
thermo_style custom step lx ly lz pxx pyy pzz pyz pxz pxy pe
thermo_modify format float %.13e
dump dump1 all custom 100000 atom.1 id type x y z fx fy fz
run 0
undump dump1
variable xmax equal (1+{deltax})*{lx0}
change_box all x final 0 ${xmax} remap units box
dump dump2 all custom 100000 atom.2 id type x y z fx fy fz
run 0
undump dump2
change_box all x final 0 ${lx0} remap units box
dump dump3 all custom 100000 atom.3 id type x y z fx fy fz
run 0
undump dump3