Files
lammps/examples/amoeba/in.water_dimer.amoeba
Steve Plimpton 01864189c7 dynamics testing
2022-04-12 12:54:23 -06:00

45 lines
974 B
Plaintext

# water dimer with AMOEBA or HIPPO
units real
boundary s s s
atom_style amoeba
bond_style class2
angle_style amoeba
dihedral_style none
# per-atom properties required by AMOEBA or HIPPO
fix amtype all property/atom i_amtype ghost yes
fix extra all property/atom &
i_amgroup i_ired i_xaxis i_yaxis i_zaxis d_pval ghost yes
fix extra2 all property/atom i_polaxe
# read data file
read_data data.water_dimer.amoeba fix amtype NULL "Tinker Types"
# force field
pair_style amoeba
pair_coeff * * amoeba_water.prm amoeba_water.key
special_bonds lj/coul 0.5 0.5 0.5 one/five yes
# thermo output
compute virial all pressure NULL virial
thermo_style custom step temp epair ebond eangle edihed eimp &
emol etotal press c_virial[*]
# zero step run
#run 0
# dynamics
thermo 1
fix 1 all nve
run 100