Hi All,
I would like to simulate a GO/solute system. I have four data files that I’m using: three files for the GO layer at different positions (GO_H0, GO_H12, and GO_H24), each with six atom types (1 2 3 4 5 6), and a fourth file for a water and trisodium citrate solution that I created using Moltemplate. The solution contains 908 atom types. I am able to successfully run simulations for both the GO multilayer and solution individually, but when I try to use “read_data append” to read all four files, I encounter the following error message:
“ERROR: All pair coeffs are not set.”
I consulted the LAMMPS documentation and tried adjusting the simulation box by reserving spaces for atoms in the data files during the first read_data command. However, I am still encountering the same error.
Could you please take a look at the input script below and let me know what is wrong with the input script?
Many thanks for your valuable time and comment in advance.
~input script
units real
atom_style full
dimension 3
boundary p p p
bond_style hybrid harmonic
angle_style hybrid harmonic
dihedral_style hybrid multi/harmonic charmm
special_bonds lj 0.0 0.0 0.5 coul 0.0 0.0 0.83333333
read_data GO_H0_converted.lmp extra/atom/types 920 extra/bond/types 10704 extra/angle/types 21624 extra/dihedral/types 50324
pair_style lj/cut/coul/long 9.0 9.0
pair_modify tail yes
kspace_style pppm 1e-8
pair_coeff 1 1 0.0860000 3.3996695
pair_coeff 2 2 0.0860000 3.3996695
pair_coeff 3 3 0.2100000 2.9599219
pair_coeff 4 4 0.2104000 3.0664734
pair_coeff 5 5 0.0000000 0.0000000
pair_coeff 6 6 0.1700000 3.0000123
pair_modify mix arithmetic
read_data GO_H12_converted.lmp add append offset 6 0 0 0 0 shift 0.0 0.0 -12.0# group GO_2
pair_coeff 1 1 0.0860000 3.3996695
pair_coeff 2 2 0.0860000 3.3996695
pair_coeff 3 3 0.2100000 2.9599219
pair_coeff 4 4 0.2104000 3.0664734
pair_coeff 5 5 0.0000000 0.0000000
pair_coeff 6 6 0.1700000 3.0000123
pair_modify mix arithmetic
read_data GO_H24_converted.lmp add append offset 12 0 0 0 0 shift 0.0 0.0 -24.0# group GO_2
pair_coeff 1 1 0.0860000 3.3996695
pair_coeff 2 2 0.0860000 3.3996695
pair_coeff 3 3 0.2100000 2.9599219
pair_coeff 4 4 0.2104000 3.0664734
pair_coeff 5 5 0.0000000 0.0000000
pair_coeff 6 6 0.1700000 3.0000123
pair_modify mix arithmetic
— solution reservoir----
----------------- Init Section -----------------
include “system.in.init”
----------------- Atom Definition Section -----------------
read_data system.data add append offset 18 15486 0 0 0 shift 0.0 0.0 5.0
----------------- Settings Section -----------------
include “system.in.settings”
----------------- Charges Section -----------------
include “system.in.charges”
----------------- Run Section -----------------
thermo_style custom ebond eangle edihed eimp epair evdwl ecoul elong etail pe
run 0
Best regards,
Majid