betaFeedback

WorksPhysics and Astronomy

How to calculate temperature and energy in Molecular Dynamics

Abstract

Molecular Dynamics (MD) simulation of the dynamics of classical objects has become incredibly popular in natural sciences since the method was developed in the sixties. A conservative estimate is that it involves many hundreds of thousands of scientific articles and all subdisciplines of natural sciences. The earliest MD simulations also introduced a simple time-symmetric expression for the momentum and velocity, which has since been used uncritically in almost all MD simulations. The expression is incorrect and can lead to significant errors. But it is straightforward to replace the expression with the correct one, and the motive of the article is to draw attention to how to calculate velocity, kinetic energy, temperature, and energy in an MD simulation correctly. Newton's algorithm of the discrete dynamics has the same quality as his analytical dynamics, and Newton's discrete dynamics conserves the energy exactly. That is the second motive for the article, namely to show that conservation of energy in a conservative system is only obtained by the correct expressions for the velocity and kinetic energy.

Introduction

Molecular Dynamics (MD) simulation of the dynamics of systems of classical mechanical objects has become incredibly popular in the natural sciences since the method was developed in the sixties [1, 2]. A conservative estimate is that it involves many hundreds of thousands of scientific articles and all subdisciplines of natural sciences [3]. The simulations use algorithms for the time evolution, and almost all of the many MD simulations use the same algorithm where a force impulse spontaneously changes an object’s momentum. The algorithm is formulated by Newton in his famous work Principia [4], but has since been reformulated and appears under different names. The dynamics is, however, independent of which reformulation has been used in a simulation [5, 6].

The earliest MD simulations also introduced a simple time-symmetric expression for the momentum and velocity at the time when the force impulse acts, which has since been used uncritically in almost all of the many MD simulations. Verlet introduced the expression in 1967 [2], obtained from a symmetric Taylor expansion in time of the positions [7], and in standard books for MD simulations it is presented the first leading therm in this expanion [8, 9]. However, as one can realize, the expression is systematic incorrect, and it can lead to significant errors [10, 11]. But it is straightforward to replace the incorrect expression with the correct one [11, 12], and that is one of the motives for this article. Namely to draw attention to how the velocity, kinetic energy, temperature, and energy in an MD simulation with Newtons discrete algorithm are calculated correctly.

Newton’s formulation of discrete dynamics is interesting because it has the same quality as his analytical dynamics. It is time-symmetric and conserves the total momentum, angular momentum, and energy of a system [5, 6]. It can further be shown that there probably exists a ”Shadow Hamiltonian (SH)” for the discrete Newtonian dynamics, corresponding to the Hamiltonian for analytic dynamics, and where the discrete positions lie on the corresponding analytic trajectories for SH [13].

The shadow Hamiltonian H~\tilde{H} can be derived for a harmonic potential, and the energy of the discrete dynamics is conserved exactly per time step [13]. The different dynamics for the discrete versus the analytic dynamics are shown in Figure 1, and for a very large time increment δt\delta t, where the discrete dynamics jumps with only ≈\approx five positions per oscillation. For the dynamics shown in Figure 1 with the analytic solution x(t)=Asin⁡(ωt)x(t)=A\sin(\omega t) with A=A=

Figure 1. Dynamics for a harmonic oscillator. The discrete positions and the trajectory in blue are the discrete dynamics for a harmonic potential, and the corresponding analytic dynamics x(t)=Asin⁡(ωt)x(t)=A\sin(\omega t) in red. The trajectory x(t)=A~sin⁡(ω~t)x(t)=\tilde{A}\sin(\tilde{\omega}t) for the shadow Hamiltonian H~\tilde{H} is in green. The dynamics are for A=ω=1A=\omega=1, x(0)=0x(0)=0, and for a very large time step δt=1.5\delta t=1.5. The discrete positions are located on the analytic trajectory for the shadow Hamiltonian. The inset is for δt=0.005\delta t=0.005, and it shows the change in kinetic energy δK\delta K, per time step, Eq. (16) in magenta, the work WW per time step, Eq. (15) in light blue, and the changes in energy per time step, Eq. (19), in gray.

ω=1\omega=1 and δt=1.5\delta t=1.5 the energies are E=0.5E=0.5 for the analytic dynamics and E~=0.491062..\tilde{E}=0.491062.. for the analytic shadow Hamiltonian x(t)=A~sin⁡(ω~t)x(t)=\tilde{A}\sin(\tilde{\omega}t) with A~=1.001199..\tilde{A}=1.001199.. and ω~=0.989835..\tilde{\omega}=0.989835.. [5]. The inset is for δt=0.005\delta t=0.005, and it shows the change in kinetic energy δK\delta K, per time step, Eq. (16) in magenta, the work WW per time step, Eq. (15) in light blue, and the changes in energy per time step, Eq. (19), in gray.

For other potentials and systems, one has only derived the first term in a functional expansion of the energy for the discrete Newtonian dynamics, and higher-order terms in the expansion are extremely complicated and have so far not been derived. However, calculations of the energy of the discrete Newtonian dynamics, with the first term included, indicate a rapid convergence of the expansion toward the corresponding analytic energy [14].

The existence of a shadow Hamiltonian means that there is no qualitative difference between the discrete Newtonian dynamics and a corresponding analytical dynamics. So the qualitative dynamical properties of discrete Newtonian dynamics versus traditional analytical dynamics are the same. That is the second motive for the article, namely to show that the energy is conserved exactly, consistent with the corresponding conserved value for the Shadow Hamiltonian, but only with the correct expression for the kinetic energy and temperature.

Discrete Newtonian Dynamics

Newtons discrete algorithm

Newton formulated the MD algorithm for discret dynamics in Proposition I very first in Principia. Below is an algebraic formulation.

Consider a classical conservative system of NN objects where the momentum and the velocity

vi(t−δt/2)≡ri(t)−ri(t−δt)δt(1)\mathbf{v}_i(t-\delta t/2) \equiv\frac{\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t)}{\delta t} \tag*{(1)}

for object No. ii at the position ri(t)\mathbf{r}_i(t) and time tt is changed by a discrete force-impulse fi(t)\mathbf{f}_i(t) to

mivi(t+δt/2)=miri(t+δt)−ri(t)δt=miri(t)−ri(t−δt)δt+δtfi(t)(2)m_i\mathbf{v}_i(t+\delta t/2) = m_i\frac{\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t)}{\delta t} = m_i\frac{\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t)}{\delta t}+\delta t\mathbf{f}_i(t) \tag*{(2)}

according to Newtons second law. The objects are again affected by force impulses at time t+δtt+\delta t after a time increment δt\delta t, etc. By a rearrangement of the terms in Eq. (2) one obtains Verlet’s formulation of the dicrete algorithm.

ri(t+δt)=2ri(t)−ri(t−δt)+δt2mifi(t).(3)\mathbf{r}_i(t+\delta t)=2\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t)+\frac{\delta t^2}{m_i}\mathbf{f}_i(t). \tag*{(3)}

The momenta, and the kinetic energy are constant inbetween the discrete force-impulses, but they change at the discrete times according to Eq. (2), and the kinetic energy changes from

K−(t−δt/2)=∑iN12mivi(t−δt/2)2(4)K_-(t-\delta t/2)=\sum_{i}^{N}\frac{1}{2}m_i\mathbf{v}_i(t-\delta t/2)^2 \tag*{(4)}

to

K+(t+δt/2)=∑iN12mivi(t+δt/2)2(5)K_+(t+\delta t/2)=\sum_{i}^{N}\frac{1}{2}m_i\mathbf{v}_i(t+\delta t/2)^2 \tag*{(5)}

Verlet also introduced the time symmetrical expression for the velocities at time tt

v0,i(t)=ri(t+δt)−ri(t−δt)2δt,(6)\mathbf{v}_{0,i}(t)=\frac{\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t-\delta t)}{2\delta t}, \tag*{(6)}

and in the many MD simulations one uses this expression for the velocities at time tt, to obtain the kinetic energy

K0(t)=∑iN12miv0,i(t)2,(7)K_0(t) = \sum_{i}^{N} \frac{1}{2}m_i v_{0,i}(t)^2, \tag*{(7)}

and the temperature

T0=⟨2K0(t)⟩Nf,(8)T_0 = \frac{\langle2K_0(t)\rangle}{N_f}, \tag*{(8)}

for a system with NfN_f degrees of freedom in the system of NN objects.

It is here the systematic errors in the temperature and kinetic energy are introduced.

The exact relation between the square of the velocities in the time intervals [t−δt,t][t-\delta t,t] and [t,t+δt][t,t+\delta t] and Verlet’s expression at time tt from Eq. (6) is drived in Appendix § 2.1. It is

v0,i(t)2=12vi(t+δt/2)2+12vi(t−δt/2)2−14(δtmifi(t))2.(9)v_{0,i}(t)^2 = \frac{1}{2}v_i(t+\delta t/2)^2 + \frac{1}{2}v_i(t-\delta t/2)^2 - \frac{1}{4}\left(\frac{\delta t}{m_i}f_i(t)\right)^2. \tag*{(9)}

The correct expression for the kinetic energy and temperature at time tt is (see § 2 B)

K(t)=12(K−(t−δt/2)+K+(t+δt/2)),(10)K(t) = \frac{1}{2}\left(K_-(t-\delta t/2) + K_+(t+\delta t/2)\right), \tag*{(10)}
T(t)=⟨2K(t)⟩Nf,(11)T(t) = \frac{\langle2K(t)\rangle}{N_f}, \tag*{(11)}

so Verlet’s expression always underestimates the kinetic energy and the temperatures. The underestimations are usuallly of the order a few per cents or less for the traditional choise of state points and time increment δt\delta t.

The systematic deviation between K(t),TK(t), T and K0(t),T0K_0(t), T_0 is not a consequence of the algorithm; it is due to Verlet’s approximation. The systematic deviation is caused by the geometrical constraint, the “Triangle Inequality Theorem”, first formulated by Euclid [15]. Three consecutive positions, which are not on a straight line (zero force) perform a triangle, and the length of the side opposite the central position is always less than the sum of the two other sides’ lengths. But the exact relation Eq. (9) is only valid for Newton’s algorithm, Eq. (2).

An illustrative example is shown in Figure 2. The figure illustrates the systematic deviation between the velocity vv and v0v_0 for an elastic collision.

Figure 2. Illustrative example: In blue is three positions and the trajectory at an elastic collision. Verlets approximation for the length 2δtv02\delta t v_0 is in green. The velocity before and after the collision is vv, and the connection between vv and v0v_0 is v0=v1−(h/δtv)2<vv_0 = v\sqrt{1-(h/\delta t v)^2} < v.

The systematic deviation between the temperature TT and T0(t)T_0(t) for the traditional Lennard-Jones (LJ) system are shown in the next figure. Figure 3 shows the deviations for T=1T=1 and for various state points and time increments. (Each values of T0(t)T_0(t) are obtained from two-three NVENVE simulations for N=2000N=2000 LJ particles and for 10610^6 time steps with T≈1T\approx1 by interpolation.) The deviations between TT and T0(t)T_0(t) increase for larger temperatures, density, and strength of the short-range repulsive forces. The effect of the strength of the repulsive forces is illustrated in the figure by showing the deviation between TT and T0T_0 for an (n−6)(n-6) LJ potential with the repulsive potential between pairs of objects at short interparticle distances proportional to r−n=r−18r^{-n}=r^{-18}.

Figure 3. The relative difference (T−T0)/T(T-T_0)/T between TT, obtained from Eq. (10), and T0T_0 from Eq. (8), and for differnt time increments δt\delta t, as a function of the density.

The connection between analytic and discrete Newtonian dynamics

Classical mechanical dynamics is traditionally determined by Taylor expansions with polynomials in powers of the discrete time step δt\delta t, where the highest power in δt\delta t, indicates the order of the algorithm. From this, Newton’s discrete algorithm is a third-order predictor of a new position ri(t+δt)\mathbf{r}_i(t+\delta t) on the classical analytic trajectory. However, Newton’s discrete dynamics is exceptional compared with the dynamics obtained by all other algorithms for classical dynamics because its dynamics has the same qualities as the analytic classical dynamics.

The algorithm, Eq. (2), is symmetric with respect to time, and time-reversible and symplectic. Newton’s third law, where forces fij(t)=−fji(t)\mathbf{f}_{ij}(t)=-\mathbf{f}_{ji}(t) between pairs ii and jj cancels pairwise, ensures conservation of momentum and angular momentum. The conservation of energy can be determined in analogy with the first law of thermodynamics [5]:

In a system, the change in internal energy ΔE\Delta E equals the heat added QQ minus the work done by the system, WW, expressed as

ΔE=Q−W,(12)\Delta E = Q-W, \tag*{(12)}

and with δE=0\delta E=0 for a conservativ system [16].

Consider the time-interval [t−δt/2,t+δt/2][t-\delta t/2,t+\delta t/2] and with positions [((ri(t)+(ri(t−δt))/2,((ri(t+δt)+(ri(t)))/2][((\mathbf{r}_i(t)+(\mathbf{r}_i(t-\delta t))/2,((\mathbf{r}_i(t+\delta t)+(\mathbf{r}_i(t)))/2], and force impulses fi(t)\mathbf{f}_i(t). A force, f(t)\mathbf{f}(t), performs a work on an object by changing its momentum, and the work can be obtained from Eq. (2). The work performed by the forces on the system of NN object in the time interval [t−δt/2,t+δt/2][t-\delta t/2,t+\delta t/2] is

W=∑iNfi(t)δri=∑iNfi(t)(ri(t+δt/2)−ri(t−δt/2))=∑iN12fi(t)(ri(t+δt)−ri(t−δt)).(13)\begin{aligned} W = \sum_{i}^{N} \mathbf{f}_i(t)\delta\mathbf{r}_i \\ &= \sum_{i}^{N} \mathbf{f}_i(t)\left(\mathbf{r}_i(t+\delta t/2)-\mathbf{r}_i(t-\delta t/2)\right) \\ &= \sum_{i}^{N} \frac{1}{2}\mathbf{f}_i(t)\left(\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t-\delta t)\right). \tag*{(13)} \end{aligned}

By rewriting Eq. (3) to

ri(t+δt)−ri(t−δt)=2(ri(t)−ri(t−δt))+δt2mifi(t)(14)\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t-\delta t)=2\left(\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t)\right)+\frac{\delta t^2}{m_i}\mathbf{f}_i(t) \tag*{(14)}

and inserting in Eq. (13) one gets an expression for the work done by the forces in the time interval [t−δt/2,t+δt/2][t-\delta t/2,t+\delta t/2]

W=∑iNfi(t)(ri(t)−ri(t−δt))+δt22mifi(t)2.(15)W=\sum_{i}^{N}\mathbf{f}_i(t)\left(\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t)\right)+\frac{\delta t^2}{2m_i}\mathbf{f}_i(t)^2. \tag*{(15)}

The heat added, QQ, in the time interval [t−δt/2,t+δt/2][t-\delta t/2,t+\delta t/2] is

Q=δK=K+(t)−K−(t)=∑iN12mi[(ri(t+δt)−ri(t))2δt2−(ri(t)−ri(t−δt))2δt2].(16)Q=\delta K=K_{+}(t)-K_{-}(t)=\sum_{i}^{N}\frac{1}{2}m_i\left[\frac{\left(\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t)\right)^2}{\delta t^2}-\frac{\left(\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t)\right)^2}{\delta t^2}\right]. \tag*{(16)}

By rewriting Eq. (3) to

ri(t+δt)−ri(t)=ri(t)−ri(t−δt)+δt2mifi(t)(17)\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t)=\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t)+\frac{\delta t^2}{m_i}\mathbf{f}_i(t) \tag*{(17)}

and inserting the squared expression for ri(t+δt)−ri(t)\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t) in Eq. (16), the change in kinetic energy in the time-interval is

Q=δK=∑iNfi(t)(ri(t)−ri(t−δt))+δt22mifi(t)2,(18)Q=\delta K=\sum_{i}^{N}\mathbf{f}_i(t)\left(\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t)\right)+\frac{\delta t^2}{2m_i}\mathbf{f}_i(t)^2, \tag*{(18)}

and with conservation of the energy

ΔE=∑iNδEi=∑iNQi−Wi=0.(19)\Delta E=\sum_{i}^{N}\delta E_i=\sum_{i}^{N}Q_i-W_i=0. \tag*{(19)}

So the expression for the kinetic energy, not by K0(t)K_0(t) but with K(t)K(t) and with its change by the discrete force impulses, is consistent with the first law of thermodynamics and with energy conservation in a conservative system [16].

The energy conservation δEi=Qi−Wi=0\delta E_i=Q_i-W_i=0 is for each object ii, and at each discrete change of position for the system of NN objects, no matter what kind of forces the object is exposed to. So the symmetry of Newton’s discrete algorithm and his second-order differential equation for analytic acceleration ensures time reversibility, symplecticity, and energy conservation for each object in the system, whereas the two other invariances, the conservation of momentum and angular momentum in analytic and discrete classical mechanics are ensured by Newton’s third law.

Moreover, there probably exists an analytic dynamics (SH), where the discrete positions with Newton’s algorithm are located on its analytic trajectories [13]. One can, as mentioned, only derive the first term in a functional expansion of the energy, and higher-order terms in the expansion are extremely complicated and have so far not been derived. However, calculations of the energy for analytic dynamics, and with the first term included, indicate a rapid convergence of the expansion [14]. Another indirect indication of the existence of an SH has been performed by determining a high-order polynomial (n=12n = 12) fit to the discrete positions [18]. But unfortunately, the authors have used Verlet’s wrong expression for the kinetic energy and temperature.

Summary

The many published articles on MD simulations use Newton’s discrete algorithm, and most of the MD articles use Verlet’s expression for the velocity, Eq. (6), to calculate the kinetic energy and the temperature of the system. The temperature and energy are systematically wrong, and the expression introduces a systematic error that can be significant. The motivation for the article is to draw attention to the fact that it is possible to calculate velocities, kinetic energy, and temperature consistently with the algorithm, and in future simulations this error should be avoided.

Many of the articles with MD are for “ensemble MD ”, with constrained dynamics in order to obtain e.g. canonical NVTNVT dynamics. The dynamics is constrained to sample with a given input temperature. Unfortunately most NVTNVT dynamics are with Verlet’s expression for the temperature, i.e. Tinput=T0T_{\mathrm{input}} = T_0. These NVTNVT ensemble MD should also be corrected. An example of NVTNVT dynamics and with a Nosé-Hoover thermostat and with Tinput=TT_{\mathrm{input}} = T is given in [19], but there are many other wayes to constrain the NVTNVT dynamics.

Newton’s discrete dynamics is unique in that it has the same qualities as his analytical mechanics. The energy is conserved, but only if one uses the correct expression, Eq. (10), for the kinetic energy. There is probably a shadow Hamiltonian where the discrete positions generated with the algorithm lie on an analytic trajectory, but here too it is important to use the correct expression for the velocity and the kinetic energy, if one compares the energy of a shadow Hamiltonian with the energy of the discrete Newtonian dynamics.

ACKNOWLEDGMENT

Jeppe C. Dyre is gratfully acknowledged.

Data Availability Statement Data will be available on request.

The exact realtion between the kinetic energies K(t)K(t) and K0(t)K_0(t)

The relations, Eqn. (9) and (10), between the squares of the velocities and the corresponding kinetic energies, were first derived by J. Jung, C. Kobayashi, and Y. Sugita [11]. They obtained the relations by using the velocity Verlet algorithm (one of the reformulations of Newton’s discrete algorithm) and the Trotter factorisation to derive the relations. They presented the relations as relations, which are correct to second order with respect to the discrete time increment. It is correct when comparing kinetic temperatures and kinetic energies with the exact analytic solutions. But the relations are exact relations for Newton’s discrete dynamics, which is proved below.

The velocities for each object ii at time tt, where a discrete force impulse fi(t)\mathbf{f}_i(t) acts, are given by the discrete positions ri(t−δt)\mathbf{r}_i(t-\delta t), ri(t)\mathbf{r}_i(t) and ri(t+δt)\mathbf{r}_i(t+\delta t). From the Verlet-formulation Eq. (3), one obtains

ri(t+δt)−ri(t−δt)=2(ri(t)−ri(t−δt))+δt2fi(t)/mi(20)\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t-\delta t) = 2(\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t))+\delta t^2\mathbf{f}_i(t)/m_i \tag*{(20)}

and

ri(t+δt)−ri(t)=ri(t)−ri(t−δt)+δt2fi(t)/mi.(21)\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t) = \mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t)+\delta t^2\mathbf{f}_i(t)/m_i. \tag*{(21)}

By squaring the expressions Eqn. (20) and (A2):

(ri(t+δt)−ri(t−δt))2=4(ri(t)−ri(t−δt))2+δt4(fi(t)/mi)2+4(ri(t)−ri(t−δt))δt2fi(t)/mi(22)(\mathbf{r}_i(t+\delta t)-\mathbf{r}_i(t-\delta t))^2 = 4(\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t))^2+ \delta t^4(\mathbf{f}_i(t)/m_i)^2+4(\mathbf{r}_i(t)-\mathbf{r}_i(t-\delta t))\delta t^2\mathbf{f}_i(t)/m_i \tag*{(22)}

and

(ri(t+δt)−ri(t))2=(ri(t)−ri(t−δt))2+δt4(fi(t)mi)2+2(ri(t)−ri(t−δt))δt2fi(t)mi.(23)\left(\mathbf r_i(t+\delta t)-\mathbf r_i(t)\right)^2 = \left(\mathbf r_i(t)-\mathbf r_i(t-\delta t)\right)^2 +\delta t^4\left(\frac{\mathbf f_i(t)}{m_i}\right)^2 +2\left(\mathbf r_i(t)-\mathbf r_i(t-\delta t)\right)\delta t^2\frac{\mathbf f_i(t)}{m_i}. \tag*{(23)}

By inserting 2(ri(t+δt)−ri(t))22\left(\mathbf r_i(t+\delta t)-\mathbf r_i(t)\right)^2 by Eq. (23) in Eq. (22) one gets

(ri(t+δt)−ri(t−δt))2=2(ri(t+δt)−ri(t))2+2(ri(t)−ri(t−δt))2−δt4(f(t)/mi)2,(24)\left(\mathbf r_i(t+\delta t)-\mathbf r_i(t-\delta t)\right)^2 =2\left(\mathbf r_i(t+\delta t)-\mathbf r_i(t)\right)^2 +2\left(\mathbf r_i(t)-\mathbf r_i(t-\delta t)\right)^2 -\delta t^4\left(\mathbf f(t)/m_i\right)^2, \tag*{(24)}

or, by dividing Eq. (24) by (2δt)2(2\delta t)^2, one obtains the exact relation Eq. (9)

v0,i(t)2=12vi(t+δt/2)2+12vi(t−δt/2)2−14(δtmifi(t))2(25)\mathbf v_{0,i}(t)^2 =\frac{1}{2}\mathbf v_i(t+\delta t/2)^2 +\frac{1}{2}\mathbf v_i(t-\delta t/2)^2 -\frac{1}{4}\left(\frac{\delta t}{m_i}\mathbf f_i(t)\right)^2 \tag*{(25)}

between the squares of the velocities. The corresponding change in kinetic energy in a time interval [t−δt/2,t−δt/2][t-\delta t/2,t-\delta t/2], centred at time tt, and the work obeys the first law of thermodynamics according to the proof in § 2 B.

References

  1. [1]A. Rahman, “Correlations in the Motion of Atoms in Liquid Argon”, Phys. Rev. 136, A405 (1964).DOI
  2. [2]L. Verlet, “Computer “Experiments” on Classical Fluids. I. Thermodynamical Properties of Lennard-Jones Molecules”, Phys. Rev., 159, 98-103 (1967).DOI
  3. [3]S. Toxvaerd, “Simulating Physics with Computers”, arXiv:2405.20780v1 (2024).arxiv.org/abs/2405.20780
  4. [4]I. Newton , PHILOSOPHIA NATURALIS PRINCIPIA MATHEMATICA. LONDINI, Anno MDCLXXXVII. Second Ed.1713; Third Ed. (1726)
  5. [5]S. Toxvaerd, Comprehensive Computational Chemistry, 3 329 (2023).DOI
  6. [6]S. Toxvaerd, “Newton’s algorithm for discrete classical dynamics”, J. Chem. Phys. 162 , 024107 (2025).DOI
  7. [7]see [5], Appendix.
  8. [8]M. Alland, and D. Tildesley, “Computer simulation of liquids”, Oxford Univ. Press, Second Ed. 2017.
  9. [9]D. Frenkel, and B. Smit, “Understanding Molecular Simulation: From Algorithms to Application”, Academic Press Third Ed. 2023.
  10. [10]M. A. Cuendet, and W. van Gunsteren, “On the calculation of velocity-dependent properties in molecular dynamics simulations using the leapfrog integration algorithm”, J. Chem. Phys. 127, 184102 (2007).pubmed.ncbi.nlm.nih.gov/18020625
  11. [11]J. Jung, C. Kobayashi, and Y. Sugita, “Kinetic energy definition in velocity Verlet integration for accurate pressure evaluation”, J. Chem. Phys. 148, 164109 (2018).DOI
  12. [12]S. Toxvaerd, “Energy, temperature, and heat capacity in discrete classical dynamics”, Phys. Rev. E 109, 015306 (2024).DOI
  13. [13]S. Toxvaerd,“Hamiltonians for discrete dynamics,” Phys. Rev E 50, 2271 (1994).pubmed.ncbi.nlm.nih.gov/9962234
  14. [14]S. Toxvaerd, O. J. Heilmann, and J. C. Dyre,“ Energy conservation in molecular dynamics simulations of classical systems,” J. Chem. Phys. 136, 224106 (2012).DOI
  15. [15]Euclid, The Thirteen Books of Euclid’s Elements, trans. and ed. Thomas L. Heath, Book I, Proposition 20 (Cambridge: Cambridge University Press, 1908).
  16. [16]The first law of thermodynamics is formulated for an open system together with the second law of thermodynamics for the condition of work performed by heat flow (one of the formulations of the second law). For a closed system, work results in a change in the systems heat capacity Cᵥ, and Cᵥ can be determined from the internal changes in kinetic energy, consistent with Eq. (18).
  17. [18]C. De Michele, and G. Ciccotti, “Shadow Hamiltonian in molecular dynamics simulations: Against a possible suggested misuse of its physical meaning ” J. Chem. Phys. 164, 244102 (2026).DOI
  18. [19]S. Toxvaerd, “ Discrete newtonian dynamics with Nosé-Hoover thermostats ”, Mol. Phys. e2314701 (2024).DOI

Paper details

vlnc:W_axusvzhs
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents