{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "cedergrouphub-chgnet--run-charge-informed-molecular-dynamics-with-chgnet",
 "repo": "CederGroupHub/chgnet",
 "repo_url": "https://github.com/CederGroupHub/chgnet",
 "repo_slug": "cedergrouphub-chgnet",
 "title": "Run a short charge-informed molecular dynamics simulation",
 "page_title": "How to run a short charge-informed molecular dynamics simulation with Chgnet",
 "summary": "Drive an ASE molecular dynamics run with the pretrained model on a crystal.",
 "who": "A battery or ceramics researcher who wants to see atoms move at high temperature without DFT cost.",
 "problem": "Ab initio molecular dynamics is too expensive for quick exploration.",
 "outcome": "A trajectory file and log from an NVT run at the temperature you choose.",
 "steps": [
  "Install with `pip install chgnet`",
  "Load the structure and model as in the README example",
  "Build `MolecularDynamics` with `ensemble=\"nvt\"`, a temperature, a timestep, `trajectory=\"md_out.traj\"` and `logfile=\"md_out.log\"`",
  "Start it with `md.run(50)`, a 0.1 ps simulation in the README example",
  "Open md_out.traj and md_out.log to inspect the run"
 ],
 "agent_prompt": "Using CederGroupHub/chgnet, run `MolecularDynamics` with ensemble nvt on my CIF at <temperature> K, timestep 2, then call `md.run(50)` and summarise md_out.log.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README notes MatPES-trained models in MatGL are expected to do better for non ground state work like molecular dynamics.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "python",
 "requirements": [
  "Python and pip",
  "A crystal structure file such as a CIF",
  "pymatgen for loading structures",
  "CPU, NVIDIA GPU, Intel GPU or Apple silicon (device picked automatically)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/cedergrouphub-chgnet/run-charge-informed-molecular-dynamics-with-chgnet/",
 "md": "https://dedupedai.com/use-cases/cedergrouphub-chgnet/run-charge-informed-molecular-dynamics-with-chgnet/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/cedergrouphub-chgnet--run-charge-informed-molecular-dynamics-with-chgnet.json",
 "api_version": "v1"
}
