I successfully ran my input scripts (was able to extract viscosity, density, and MSD values out of it) and tried to analyze RDFs, but I found that the RDF output file was empty. I looked at the logs and found that while rdf neighbor searching it hadn’t found any (I triple-checked the atom labels and they all seemed right), but noticed this log while running the RDF script saying that the master list cutoff distance = 0.
After extensively reading the documentation, I’ve deduced that it might have something to do with the pair styles or pair coefficients, but right now I’m at an impasse and would appreciate any help.
I am simulating a system of [EMIM][OAC] ionic liquid with a drude polarized force field.
(sorry, I’d attach the full input files but new users aren’t allowed to do so)
LAMMPS Version 29Sep2021
Prod run pertinent settings:
#Settings
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
special_bonds lj/coul 0.0 0.0 0.5
pair_style hybrid/overlay lj/cut/coul/long 12.0 12.0 coul/long/cs 12.0 thole 2.600 12.0
pair_modify tail yes
kspace_style pppm 1.0e-5
read_data data-p.lmp extra/special/per/atom 6
include pair.lmp
include pair-drude.lmp
Coefficient File 1:
pair_coeff 1 1 lj/cut/coul/long 0.170000 3.250000 # NA NA
pair_coeff 1 2 lj/cut/coul/long 0.109087 3.396690 # NA CR
[continues…]
Coefficient File 2:
#interactions involving Drude particles
pair_coeff * 14* coul/long/cs
#Thole dipole-dipole damping if more than 1 Drude per molecule
pair_coeff 1 1 thole 1.208
pair_coeff 1 2 thole 1.321
[continues…]
RDF-MSD rerun full script:
units real
boundary p p p
atom_style full
bond_style harmonic
angle_style harmonic
dihedral_style opls
read_data data.run.lmp
#mean-squared displacements
group cat molecule 1:200
group ani molecule 201:400
compute MSDcat cat msd
compute MSDani ani msd
#radial distribution functions NA-NA O2-O2 NA-O2 HCR-O2 HCW-O2 HCW-O2
comm_modify cutoff 22.0
neigh_modify one 3000
compute RDF all rdf 200 1 1 6 6 1 6 7 6 4 6 5 6 cutoff 20.0
fix RDF all ave/time 2000 1000 2000000 c_RDF[*] file rdf.lmp mode vector
thermo 2000
thermo_style custom step c_MSDcat[4] c_MSDani[4]
rerun calcDump.lammpstrj dump x y z box yes