Using LAMMPS 29 Aug 2024 Update 1, I am trying to run the example file for dielectric package.
The input script (shown below) with lj/cut/coul/long pair style and pppm/dielectric kspace
style works fine.
variable data index data.confined
newton off
units lj
atom_style dielectric
atom_modify map array
dimension 3
boundary p p f
variable method index gmres
read_data ${data}
group interface type 1
group ions type 2 3
group cations type 2
group anions type 3
pair_style lj/cut/coul/long/dielectric 10.0
pair_coeff * * 1.0 1.0
pair_coeff 1 1 0.0 1.0
kspace_style pppm/dielectric 0.0001
kspace_modify slab 3
neigh_modify every 1 delay 0 check yes one 5000
fix 1 ions nve
fix 3 interface polarize/bem/gmres 1 1.0e-4
thermo 1
thermo_style custom step evdwl ecoul elong epair
thermo_modify flush yes
run 100
If I instead use lj/cut/coul/msm pair style with msm/dielectric kspace style, the simulation crashes with a segmentation fault.
I am uploading the data file (data.confined) and the two input scripts (in.msm and in.pppm)
data.confined (215.9 KB)
in.msm (678 Bytes)
in.pppm (703 Bytes)