# PREREQUISITES: # # You must use moltemplate.sh to create 4 files: # system.data system.in.init system.in.settings system.in.charges # (Follow the instructions in README_setup.sh, # or run the file as a script using ./README_setup.sh) # # ------------------------------- Initialization Section -------------------- include "system.in.init" # specify the style of force field used # ------------------------------- Atom Definition Section ------------------- read_data "system.data" # ------------------------------- Settings Section -------------------------- include "system.in.settings" # load the force field parameters include "system.in.charges" # load the charge of each atom # ------------------------------- Run Section ------------------------------- # -- minimization protocol -- unfix fShakeSPCE # Disable SHAKE during minimization and pressure equilibr minimize 1.0e-4 1.0e-6 100000 400000 # Optional: write the coordinates after minimization write_data "system_after_min.data" # -- simulation protocol -- timestep 1.0 dump 1 all custom 2000 traj_npt.lammpstrj id mol type x y z ix iy iz # Turn on the barostat and thermostat fix fxnpt all npt temp 300.0 300.0 100.0 iso 1.0 1.0 1000.0 drag 1.0 thermo 100 run 100000 write_data "system_after_npt.data"