Hi everyone:
I want to politely ask a question about applying LAMMPS simulation to a rigid LJ molecule with an NPT ensemble:
Here’s the input file:
INPUT
units real
atom_style full
boundary p p p
pair_style lj/cut/coul/cut 15.0
bond_style harmonic
pair_modify mix geometric tail yes
read_data DATA.data
bond_coeff * 1050.000000 1.102000
group clump union all
timestep 0.5
fix 1 clump rigid/npt molecule temp 64.000000 64.000000 5.0 iso 0.493462 0.493462 500.0
dump 1 all atom 100000 INPUT.1.dump #0.1ns per dump
dump_modify 1 scale no image yes
thermo_style custom step time cpu tpcpu etotal ke pe ebond eangle edihed eimp evdwl ecoul elong enthalpy temp press vol density
thermo 5000
thermo_modify flush yes
restart 1000 INPUT.1.rst INPUT.2.rst
run 10000000 # 5ns
write_restart INPUT.rst
With the data file that results in the error:
LAMMPS data, DATA file1 with filename DATA.data
2 atoms
1 bonds
0 angles
0 dihedrals
0 impropers
1 atom types
1 bond types
0 angle types
0 dihedral types
0 improper types
0.000000 500.000000 xlo xhi
0.000000 500.000000 ylo yhi
0.000000 500.000000 zlo zhi
Masses
1 14.006700
Atoms
1 1 1 0 193.593092 158.841510 31.234906
2 1 1 0 194.593659 159.193643 30.696596
Bonds
1 1 2 1
Pair Coeffs
1 0.075900 3.262100
Bond Coeffs
1 1050 0.969900
This should be a straightforward system, and the two atoms are not overlapping, yet lammps is resulting in the following error:
ERROR on proc 0: Non-numeric atom coords - simulation unstable (src/OPENMP/domain_omp.cpp:58)
Last command: run 10000000 # 5ns
The input files should be correct because when shifting this single molecule in the x-axis, the issue magically disappears for some reason. What could went wrong with the previous data file?
The following data file will somehow not result in an error:
LAMMPS data, DATA file2 with filename DATA.data
2 atoms
1 bonds
0 angles
0 dihedrals
0 impropers
1 atom types
1 bond types
0 angle types
0 dihedral types
0 improper types
0.000000 500.000000 xlo xhi
0.000000 500.000000 ylo yhi
0.000000 500.000000 zlo zhi
Masses
1 14.006700
Atoms
1 1 1 0 93.593092 158.841510 31.234906
2 1 1 0 94.593659 159.193643 30.696596
Bonds
1 1 2 1
Pair Coeffs
1 0.075900 3.262100
Bond Coeffs
1 1050 0.969900
When applying the same forcefield in a system with more molecules, this error persists. Could there be a format error in the data file? Any help or suggestion is highly appreciated!!