Files
lammps/examples/USER/hdnnp/in.hdnnp
Andreas Singraber ee240f93d9 Rearranged cutoff and element map user input
Cutoff radius is now mandatory argument of pair_style. "emap" keyword is
removed and replaced by additional pair_coeff arguments (similar to
pair_airebo.cpp). Changes in docs are still missing.
2021-04-08 23:54:26 +02:00

48 lines
1.7 KiB
Plaintext

###############################################################################
# MD simulation for HDNNP water
###############################################################################
###############################################################################
# VARIABLES
###############################################################################
clear
# Configuration files
variable cfgFile string "data.H2O-360mol"
# Timesteps
variable numSteps equal 10
variable dt equal 0.0005
# HDNNP
variable hdnnpCutoff equal 6.36
variable hdnnpDir string "hdnnp-data"
###############################################################################
# GENERAL SETUP
###############################################################################
units metal
boundary p p p
atom_style atomic
read_data ${cfgFile}
timestep ${dt}
thermo 1
###############################################################################
# HDNNP
###############################################################################
pair_style hdnnp ${hdnnpCutoff} dir ${hdnnpDir} showew no showewsum 5 resetew no maxew 100 cflength 1.8897261328 cfenergy 0.0367493254
pair_coeff * * H O
###############################################################################
# INTEGRATOR
###############################################################################
fix INT all nve
###############################################################################
# OUTPUT
###############################################################################
dump 1 all atom 1 dump.hdnnp
###############################################################################
# SIMULATION
###############################################################################
run ${numSteps}