I’ve been trying to equilibrate my system, but I keep getting an error saying “bond missing.” I’ve checked the data file multiple times, and everything looks fine. The problem occurs when the bond breaks during the dynamics simulation. I’ve tried using both 1 fs and 0.5 fs time steps, but I’m still getting the same error. I’ve been stuck on this for a while now, so any help or suggestions would be really helpfull my input is # ============================================================
FINAL PRODUCTION SCRIPT (FIXED SHAKE)
============================================================
— 1. Initialization —
units real
atom_style full
boundary p p p
newton on
— 2. Force Field Styles —
pair_style lj/charmmfsw/coul/long 10.0 12.0
pair_modify mix arithmetic
special_bonds charmm
bond_style harmonic
angle_style hybrid charmm cosine/periodic fourier
dihedral_style hybrid charmmfsw harmonic
improper_style hybrid fourier harmonic
— 3. Read Data —
read_data final_minimized.data
include combined_params_cleaned.in
kspace_style pppm 1e-6
— 4. Group Definitions —
group enzyme id 1:5604
group sol id 5605:52320
group mof id 52321:59394
fix safe_shake all shake 0.0001 20 0 b 60 110 a 1
Create a group for the solid parts (MOF + Enzyme)
#group nonsol union enzyme mof
— 5. System Settings —
neigh_modify delay 0 every 1 check yes
comm_style tiled
fix bal all balance 1000 1.1 rcb
— Restraints —
variable K_enzyme equal 2.0
variable K_mof equal 0.5
fix restrain_enzyme enzyme spring/self {K_enzyme}
fix restrain_mof mof spring/self {K_mof}
— Velocity Init —
velocity all create 10.0 54321 mom yes rot yes dist gaussian
fix mom_remove all momentum 1000 linear 1 1 1
============================================================
STAGE 0: Soft Warmup (NVE/Limit)
============================================================
timestep 0.5
fix limiter all nve/limit 0.1
fix lang_warm all langevin 10.0 50.0 100.0 699483
thermo 100
run 5000
unfix limiter
unfix lang_warm
============================================================
STAGE A: Heating (NVT)
============================================================
timestep 1.0
Resume from 50K
fix stage_A all nvt temp 50.0 300.0 100.0
thermo 1000
thermo_style custom step temp pe etotal press vol density
dump dump_A all custom 5000 dump_eq_A_heat.lammpstrj id type xu yu zu
run 200000 # 200 ps
write_restart restart.stage_A
unfix stage_A
undump dump_A
============================================================
STAGE B: Relaxation
============================================================
fix stage_B all nvt temp 300.0 300.0 100.0
dump dump_B all custom 5000 dump_eq_B_relax.lammpstrj id type xu yu zu
run 500000 # 0.5 ns
write_restart restart.stage_B
unfix stage_B
undump dump_B
============================================================
STAGE C: Production
============================================================
unfix restrain_enzyme
unfix restrain_mof
fix stage_C all nvt temp 300.0 300.0 100.0
dump dump_C all custom 10000 dump_production.lammpstrj id type xu yu zu
run 1000000 # 1 ns
write_restart final_production.restart
write_data final_production.data