forked from deepmodeling/deepmd-kit
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jinzhe Zeng <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
|
||
# bulk water | ||
|
||
units metal | ||
boundary p p p | ||
atom_style atomic | ||
# Below line is required when using DPA-2 with the JAX backend | ||
atom_modify map yes | ||
|
||
neighbor 2.0 bin | ||
neigh_modify every 10 delay 0 check no | ||
|
||
read_data water.lmp | ||
mass 1 16 | ||
mass 2 2 | ||
|
||
# See https://deepmd.rtfd.io/lammps/ for usage | ||
pair_style deepmd frozen_model.savedmodel | ||
# If atom names (O H in this example) are not set in the pair_coeff command, the type_map defined by the training parameter will be used by default. | ||
pair_coeff * * O H | ||
|
||
velocity all create 330.0 23456789 | ||
|
||
fix 1 all nvt temp 330.0 330.0 0.5 | ||
timestep 0.0005 | ||
thermo_style custom step pe ke etotal temp press vol | ||
thermo 100 | ||
dump 1 all custom 100 water.dump id type x y z | ||
|
||
run 1000 |