$FOAM_TUTORIALS/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater
Molecular Dynamics (MD) calculation is performed to calculate the equilibrium state of water.
The properties of the particles are defined in the files "moleculeProperties" and "idList" in the directory "constant". The external force and interparticle potential are defined in the file "potentialDict" in the directory "system", the initial conditions are defined in the file "mdInitialiseDict", and the temperature at equilibrium is defined in the file "mdEquilibrationDict".
The size of the model in the X, Y, and Z directions is 4.22 nm, respectively, and each face is set to a periodic boundary condition.
The initial position of the particles is defined based on the mesh. The mesh is as follows.
The calculation result is as follows.
The energy and force of each potential at each distance are output to the file "O-O" and the file "electrostatic". In the file, the first column is the distance, the second column is the energy, and the third column is the force.
To visualize discrete particles, load the data into ParaView by the paraFoam command, and then set the following in the Properties tab of the pipeline browser and click the Apply button.
43 minutes 37.74 seconds *Single, Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz