Dear all,
I am reaching out for guidance as this is my first time trying ReaxFF. My goal is to reproduce results from the paper J. Phys. Chem. C* 2015, 119, 31, 17876–17886 (https://doi.org/10.1021/acs.jpcc.5b04650) using August 2nd, 2023 version of Lammps. However, I get “Non-numeric atom coords - simulation unstable” errors. Through my research, I understand that this error may be related to the poor dynamics due to the incorrect potential or bad configuration (close contact). Here’s what I’ve tried:
First, I copied and pasted the force filed file and the Al slab configuration from the supplementary material. I tried nvt ensemble at 300K to test the system’s stability with the force field. With the given Al slab structure, the simulation ran with no error, although the temperature dropped to 0. I attached the structure and log files in this post (1_data.Al_slab, 1_log.lammps_Alslab).
Second, I increased the z box length to 10 nm to match the system in the paper. Running the simulation with only the Al slab resulted in a crash within a few steps with the “Non-numeric atom coords - simulation unstable” errors. The temperature, the pressure, and the total energy became nan. I attached the structure and log files (2_data.Al_slab, 2_log.lammps_Alslab_10nm).
Third, I reduced the time step from 0.1 fs to 0.05 fs (the authors used 0.2 fs in the paper). The simulation ran without errors, but the pressure was extremely high. Visualization didn’t reveal any close contacts. The log file is attached (3_log.lammps_Alslab_10nm_0.05fs).
Lastly, adding 150 oxygen molecules as mentioned in the paper lead to a crashe in minimization steps with an error “Not enough space for bonds!”. I attached the structure and log files (4_data.AlO_slab, 4_log.lammps_AlO).
Any insights or suggestions on resolving these issues would be greatly appreciated.
Best,
Sue
Here is the input file:
# ------------------------ INITIALIZATION ----------------------------
units real
dimension 3
boundary p p p
atom_style charge
# ----------------------- ATOM DEFINITION ----------------------------
read_data data.AlO_slab
group Al type 1
group O type 2
neighbor 2 bin # pairwise neighbor lists
neigh_modify delay 0 every 10 check no
# ------------------------ FORCE FIELDS ------------------------------
## ReaxFF Al/Oxygen
pair_style reaxff lmp_control
pair_coeff * * ffield.reax.AlO Al O
# ------------------------ Equilibration Run -------------------------------
##COMPUTES
compute pe all pe/atom # potential energy
compute s all stress/atom NULL
compute u all displace/atom
compute equ all temp
compute thermo_press_lmp all pressure thermo_temp
compute reax all pair reaxff
variable eb equal c_reax[1]
variable ep equal c_reax[12]
thermo_style custom step time temp press etotal pe vol v_eb v_ep # print these very N step
thermo 1 # output thermodynamics every N steps
##DUMP
dump dump1 all atom 1 dump.reax.AlO
velocity all create 300 400 dist gaussian mom yes rot no
velocity all scale 300 temp equ
timestep 0.1 # 0.1 fs timestep
fix 1 all nvt temp 300 300 0.01
fix 2 all qeq/reaxff 1 0.0 10.0 1e-6 reaxff
min_style cg
minimize 1.0e-6 1.0e-6 100000 100000
# ------------------------ Dynamic Run -------------------------------
run 10000
# ------------------------ Restart & Data file -----------------------
write_restart Al_slab.rest
write_data data.Al_slab_final
1_data.Al_slab (43.1 KB)
1_log.lammps_Alslab (1.3 MB)
ffield.reax.AlO (3.3 KB)
lmp_control (405 Bytes)
2_log.lammps_Alslab_10nm (14.8 KB)
2_data.Al_slab (43.1 KB)
3_log.lammps_Alslab_10nm_0.05fs (1.3 MB)
4_data.AlO_slab (67.8 KB)
4_log.lammps_AlO (3.2 KB)