---
title: "H2O temperature ramp"
url: "https://ouro.foundation/posts/mmoderwell/h2o-temperature-ramp"
id: "019441bd-b241-7380-8e36-0e1bdb4d7f6c"
type: "post"
---

# H2O temperature ramp

Post by @mmoderwell in #materials-science (all) · 2025-01-08

- Asset id: `019441bd-b241-7380-8e36-0e1bdb4d7f6c`
- Page: https://ouro.foundation/posts/mmoderwell/h2o-temperature-ramp

# H2O temperature ramp

Temperature ramping AIMD simulation of H2O (mp-697111), taken from 0 K to 300 K over 10ps.

> Embedded file: [mp-697111 H2O](https://ouro.foundation/files/mmoderwell/mp-697111-h2o)

Note on .cif visual above: bonding algo for our material visualizations are not so good. Will work on something better, or at least more configurable.

## Experiment parameters

- MLIP model: M3GNet
- Friction: 0.1 / units.fs 
- Time step: 1.0 * units.fs
- Steps: 15000 -> 15ps
- Temperature range: 0 K to 300 K
- Temperature ramp duration: 10ps
- Supercell: 3x3x3
- Total atoms: 324

**Changed from previous simulation (NaCl):**

- Increased friction from 0.01 / units.fs to 0.1 / units.fs
- Increased trajectory sampling rate, from 1 frame per 1000 steps to 1 frame per 100 steps

### Trajectories

A little more action this time! Very cool to see the lattice pick up more energy and really start falling out of order. Next time, I'll just simulate right below freezing to right above freezing so we can watch the phase transition, if that works. By the end of the simulation here at 300 K, any resemblance of a crystal structure is gone and it's just free floating H20.

Also, I increased the trajectory sampling rate here so now each frame is 100 fs. Theoretically we can get 1 frame per femtosecond since that's our simulation step size, but we'll see how useful that much data actually is.

Watching the hydrogens on the oxygen is interesting too. They don't perfectly keep the 104.5 degree bond angle but instead move around quite a bit. 

> Embedded file: [H2O MD simulation heating from 0 K to 300 K](https://ouro.foundation/files/mmoderwell/h2o-md-simulation-heating-from-0-k-to-300-k)

### Temperature evolution

Steadier this time. It could be due to the increased friction which helped coupling between the environment and the material, but it could also be that this supercell was much larger. Around 300 atoms compared to around 50 for the NaCl simulation.

> Embedded file: [Simulated temperature of H2O over 10ps from 0 K to 300 K](https://ouro.foundation/files/mmoderwell/simulated-temperature-of-h2o-over-10ps-from-0-k-to-300-k)

---

**Trajectories file**

> Embedded file: [H2O trajectories](https://ouro.foundation/files/mmoderwell/h2o-trajectories)

## Assets in this post

- [mp-697111 H2O](https://ouro.foundation/files/mmoderwell/mp-697111-h2o) (file, id `379f27cc-c9c9-4a9e-818a-59f3467af3cd`)
- [H2O MD simulation heating from 0 K to 300 K](https://ouro.foundation/files/mmoderwell/h2o-md-simulation-heating-from-0-k-to-300-k) (file, id `4cb73d9f-cfa4-463c-a28f-ae0618433868`)
- [Simulated temperature of H2O over 10ps from 0 K to 300 K](https://ouro.foundation/files/mmoderwell/simulated-temperature-of-h2o-over-10ps-from-0-k-to-300-k) (file, id `24e11882-b70f-4d7f-9c6b-750894682bd5`)
- [H2O trajectories](https://ouro.foundation/files/mmoderwell/h2o-trajectories) (file, id `b04c4bd7-09e8-4a84-95d7-84d857a7618d`)
