MD Simulation with MACE agnesi medium model #788
Replies: 1 comment 7 replies
-
I'm afraid we don't have the capacity to tutor you in using the Atomic Simulation Environment. Please read the documentation here: https://wiki.fysik.dtu.dk/ase/ |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I ran the following script:
from mace.calculators import mace_mp
from ase import build
from ase.md import Langevin
from ase.md.velocitydistribution import MaxwellBoltzmannDistribution
from ase import units
macemp = mace_mp(model="https://github.com/ACEsuit/mace-mp/releases/download/mace_mp_0b/mace_agnesi_medium.model") # downlaod the model at the given url
atoms = build.molecule('H2O')
atoms.calc = macemp
T_init = 300 # Initial temperature in K
MaxwellBoltzmannDistribution(atoms, T_init * units.kB)
Set up the Langevin dynamics engine for NVT ensemble.
dyn = Langevin(atoms, 0.5 * units.fs, T_init * units.kB, 0.001)
n_steps = 200 # Number of steps to run
dyn.run(n_steps)
And then got the following output:
"True" it says at the end. So is the MD Simulation complete? And if yes, then how to visualize it? Kindly help.
Thanks and Regards.
Beta Was this translation helpful? Give feedback.
All reactions