Replies: 2 comments
-
I suspect the issue is due to the pressure dampening parameter,
|
Beta Was this translation helpful? Give feedback.
-
Thank you, that resolved the issue with me. I incorrectly assumed that the damping parameter was in timesteps, rather than the time. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I recently trained the NNP for molten LiCl and ran MD simulations (DeepmdKit v.2.0.3). The errors in energies and forces are in the order of 10^-3 eV/atom and 10^-2 eV/atom, respectively. However, I found that the values for the volumes (below picture) and energies fluctuate very smoothly. I compared this behavior with previously reported NNPs for LiCl (Journal of Materials Science & Technology 75 (2021) 78–85) from the previously available online deepmd library, but the results do not vary much. Is this normal, as i believe the fluctuations should be less smooth and noisier?
What I've tried:
input.json:
{
"_comment": " model parameters",
"model": {
"type_map": ["Li", "Cl"],
"descriptor" :{
"type": "se_e2_a",
"sel": [100, 100],
"rcut_smth": 6.80,
"rcut": 7.00,
"neuron": [25, 50, 100],
"resnet_dt": false,
"axis_neuron": 16,
"seed": 2,
"_comment": " that's all"
},
"fitting_net" : {
"neuron": [240, 240, 240],
"resnet_dt": true,
"seed": 20,
"_comment": " that's all"
},
"_comment": " that's all"
},
"learning_rate" :{
"type": "exp",
"decay_steps": 5000,
"start_lr": 0.001,
"stop_lr": 3.51e-8,
"_comment": "that's all"
},
"loss" :{
"type": "ener",
"start_pref_e": 0.02,
"limit_pref_e": 1,
"start_pref_f": 1000,
"limit_pref_f": 1,
"start_pref_v": 0,
"limit_pref_v": 0,
"_comment": " that's all"
},
"training" : {
"training_data": {
"systems": ["./training"],
"batch_size": "auto",
"_comment": "that's all"
},
"validation_data": {
"systems": ["./validation"],
"batch_size": "auto",
"numb_btch": 1,
"_comment": "that's all"
},
"numb_steps": 1000000,
"seed": 20,
"disp_file": "lcurve.out",
"disp_freq": 100,
"save_freq": 100,
"_comment": "that's all"
},
"_comment": "that's all"
}
LAMMPS input:
units metal
boundary p p p
atom_style atomic
variable T equal 1033
neighbor 2.0 bin
neigh_modify every 1 check yes
read_data data.licl
mass 1 6.941
mass 2 35.453
pair_style deepmd graph.pb
pair_coeff * *
thermo 100
thermo_style custom step temp pe ke etotal press vol lx density
dump 1 all custom 100 licl.traju id type xu yu zu
dump_modify 1 sort id
velocity all create $T 2803 mom yes rot yes dist gaussian
fix 1 all npt temp $T $T 100 iso 1.0 1.0 1000
run 8000000
unfix 1
write_data licl.dat
write_restart licl.rst
Beta Was this translation helpful? Give feedback.
All reactions