Md
Molecular dynamics recipes for VASP.
md_job ¶
md_job(
atoms: Atoms,
preset: str | None = "DefaultSetGGA",
timestep: float = 0.5,
nsteps: int = 2000,
ensemble: Literal["nve", "nvt", "npt"] = "nvt",
temperature: float = 300.0,
pressure: float = 1.0,
copy_files: SourceDirectory | Copy | None = None,
additional_fields: dict[str, Any] | None = None,
**calc_kwargs
) -> VaspSchema
Run a VASP ab initio molecular dynamics calculation.
Parameters:
-
atoms(Atoms) –Atoms object.
-
preset(str | None, default:'DefaultSetGGA') –Preset to use from
quacc.calculators.vasp.presets. -
timestep(float, default:0.5) –Molecular dynamics timestep in femtoseconds, corresponding to POTIM.
-
nsteps(int, default:2000) –Number of molecular dynamics steps, corresponding to NSW.
-
ensemble(Literal['nve', 'nvt', 'npt'], default:'nvt') –Thermodynamic ensemble. Supported values are "nve", "nvt", and "npt". The value is case-insensitive.
-
temperature(float, default:300.0) –Target temperature in K. For NVE calculations, this temperature is used to initialize velocities when velocities are not already present.
-
pressure(float, default:1.0) –External pressure in bar. It will be automatically converted to kB. Only used for NPT.
-
copy_files(SourceDirectory | Copy | None, default:None) –Files to copy and decompress into the runtime directory.
-
additional_fields(dict[str, Any] | None, default:None) –Additional fields to add to the results dictionary.
-
**calc_kwargs–Custom keyword arguments for the VASP calculator. These values override the recipe defaults. Set a value to None to remove a pre-existing key entirely.