|
Multi Resolution Molecular Dynamics 0.4.0
Multi Resolution Molecular Dynamics
|
The tutorials below build on each other and are meant to be read in order.
Each one is a complete, runnable program: it is compiled as its own executable under mrmd-build/examples/<name>, it accepts its parameters on the command line (--help lists them), and it is executed as part of the test suite on every commit, so what you see here always compiles and runs.
Several of them consume files produced by an earlier one, so running them out of order will fail on a missing input:
Everything involving H5MD — that is 03 and 05 through 08 — requires a build configured with -DMRMD_ENABLE_HDF5=ON. See Getting Started.
Minimal ideal gas (non-interacting particles) simulation in the NVE (microcanonical) ensemble. Introduces the simulation domain, ghost layer, and the velocity-Verlet integrator.
Minimal ideal gas simulation in the NVT (canonical) ensemble.
Minimal Lennard-Jones simulation in the NVT (canonical) ensemble with output of observables and final phase position in GRO format.
Minimal Lennard-Jones simulation in the NVE (microcanonical) ensemble starting from a phase position restored from a GRO file, with output of observables and the final phase position in H5MD format.
04_LennardJones_IdealGas_LocalCap
Simulation of Lennard-Jones particles in contact with an ideal gas with a force capping applied in the transition zone.
05_LennardJones_EquilibrateBerendsen
Equilibration simulation of a Lennard-Jones system using the Berendsen thermostat as a first step towards running an AdResS simulation. The particles are initialized with random positions and velocities inside a rectangular simulation box with user-defined dimensions and number of particles. The final phase position is dumped into both GRO and H5MD output files.
05_LennardJones_EquilibrateLangevin
Equilibration run for the Lennard-Jones fluid using the Langevin thermostat as a second step towards running an AdResS simulation. The initial phase position is restored from an H5MD file that can be generated by a preceding Berendsen equilibration. The final phase position is dumped into both GRO and H5MD output files and the trajectory is stored in a separate H5MD file.
06_LennardJones_ProductionAtomistic
Production run for a full-atomistic Lennard-Jones fluid as reference to an AdResS simulation. The trajectory is stored in an H5MD file.
07_LennardJones_ThermodynamicForce
Thermodynamic force iteration run for the Lennard-Jones fluid coupled to a tracer gas of non-interacting particles and starting with zero thermodynamic force. The final thermodynamic force is dumped into a TXT file.
07_LennardJones_ThermodynamicForce_InitialGuess
Thermodynamic force iteration run for the Lennard-Jones fluid coupled to a tracer gas of non-interacting particles and starting from an initial guess for the force. The final thermodynamic force is dumped into a TXT file.
08_LennardJones_ProductionTracer
Production run for the Lennard-Jones fluid coupled to a tracer gas of non-interacting particles with a converged thermodynamic force obtained from a previous thermodynamic force iteration. Output is stored in GRO and H5MD files.