Next Article in Journal
Evaluation of Geometric Attractor Structure and Recurrence Analysis in Professional Dancers
Previous Article in Journal
Cross-Correlation- and Entropy-Based Measures of Movement Synchrony: Non-Convergence of Measures Leads to Different Associations with Depressive Symptoms
Previous Article in Special Issue
Stochastic Thermodynamics of an Electromagnetic Energy Harvester
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Work and Thermal Fluctuations in Crystal Indentation under Deterministic and Stochastic Thermostats: The Role of System–Bath Coupling

by
Javier Varillas
1 and
Lamberto Rondoni
2,3,*
1
Institute of Thermomechanics, Czech Academy of Sciences, 18200 Prague, Czech Republic
2
Dipartimento di Scienze Matematiche, Politecnico di Torino, 10125 Turin, Italy
3
INFN, Sezione di Torino, Via P. Giuria 1, 10125 Turin, Italy
*
Author to whom correspondence should be addressed.
Entropy 2022, 24(9), 1309; https://doi.org/10.3390/e24091309
Submission received: 4 July 2022 / Revised: 11 August 2022 / Accepted: 14 September 2022 / Published: 15 September 2022

Abstract

:
The Jarzynski equality (JE) was originally derived under the deterministic Hamiltonian formalism, and later, it was demonstrated that stochastic Langevin dynamics also lead to the JE. However, the JE has been verified mainly in small, low-dimensional systems described by Langevin dynamics. Although the two theoretical derivations apparently lead to the same expression, we illustrate that they describe fundamentally different experimental conditions. While the Hamiltonian framework assumes that the thermal bath producing the initial canonical equilibrium switches off for the duration of the work process, the Langevin bath effectively acts on the system. Moreover, the former considers an environment with which the system may interact, whereas the latter does not. In this study, we investigate the effect of the bath on the measurable quantity of the JE through molecular dynamics simulations of crystal nanoindentation employing deterministic and stochastic thermostats. Our analysis shows that the distributions of the kinetic energy and the mechanical work produced during the indentation processes are affected by the interaction between the system and the thermostat baths. As a result, the type of thermostatting has also a clear effect on the left-hand side of the JE, which enables the estimation of the free-energy difference characterizing the process.

1. Introduction

The Jarzynski equality (JE) is meant to link the statistics of non-equilibrium works to an equilibrium property: the free-energy difference between two equilibrium states of a given physical system [1]. In this sense, the JE complements the fluctuation–dissipation relationships that obtain non-equilibrium properties from equilibrium experiments. The present literature is vast and substantially includes diverse investigations on the validity of the JE. Most authors report verifications of the theory or provide reasons in support of the validity of the JE; such as those discussing optimal protocols for stochastic systems; see, e.g., Refs. [2,3,4,5]. However, investigations considering a reduced number of work measurements find violations of the JE or express some concern in connection with the Hamiltonian derivation; see, e.g., Refs. [6,7,8,9]. In particular, the study of a variable volume system [9] shows that the Hamiltonian of the JE is not universal. Moreover, Ref. [10] demonstrates that the JE is violated even in small systems complying with the Jarzynski theory due to the emergence of process-dependent irreversibilities at the nano-scale.
In this study, we investigate the effect of deterministic and stochastic thermostats on the measurable (or computable) quantity that appears in the JE. We consider that this assessment is required because there are two fundamentally different derivations of the JE that apparently lead to the same work-fluctuation expression, when in fact they refer to different types of experimental conditions and, hence, to distinct free-energy quantities. To appreciate these differences, which mainly concern the role of thermostatting, we outline in the following the two derivations of the JE.

1.1. The Hamiltonian Derivation of the JE

The Hamiltonian derivation of the JE concerns an N-particle system (S), with coordinates and momenta expressed by x = ( q S , p S ) , where the collection of coordinates are q S = ( q 1 , , q N ) and that of momenta is p S = ( p 1 , , p N ) , that may interact with an environment (E) made of M particles, with coordinates and momenta expressed by y = ( q E , p E ) , where q E = ( q N + 1 , , q N + M ) and p E = ( p N + 1 , , p N + M ) . We denote by M the phase space of S+E, which is the set of points Γ = ( x , y ) of all coordinates and momenta of the object constituted by S and E together. The Hamiltonian of S+E is assumed to take the form
H ( Γ ; λ ) = H S ( x ; λ ) + H E ( y ) + h int ( x , y ) ,
where λ is a time-dependent parameter controlled by an external agent, H S is the energy of S, H E is that of E, and h int is the interaction energy of S with E. Initially, λ ( 0 ) = α , and S+E is in equilibrium with a thermal bath (B) at temperature T; hence, the statistics of its phases Γ are given by the canonical ensemble
f α ( Γ ) = e β H ( Γ ; α ) Q S + E ( α ) ,
where
Q S + E ( λ ) = e β H ( Γ ; λ ) d Γ ,
and β = ( k B T ) 1 characterizes the thermal bath.
At time t = 0 , the S+E is disconnected from B, and the external agent acts on λ for a time τ , which varies from its initial value α to its final value λ ( τ ) = ω . This fully deterministic process is repeated many times, with identical λ ( t ) , but each time starting from a different initial condition Γ 0 = ( x 0 , y 0 ) and different energy H ( Γ 0 ; α ) dictated by the initial canonical distribution f α . The fact that S+E and B do not exchange energy during the process may be justified by assuming that only a negligible amount of energy can be exchanged in the typically short process time τ . Then, the derivation of the JE—that proceeds through exact analytical calculations—suggests that the work distributions of practically any process taking λ from the given initial value α to the final value ω , during any process time τ > 0 , can be used to compute the free-energy difference between the canonical state at temperature T with Hamiltonian H ( Γ ; λ ( 0 ) = α ) and the canonical state at temperature T with Hamiltonian H ( Γ ; λ ( τ ) = ω ) . The calculations [1] can be summarized as follows.
Letting S λ t : M M denote the phase space evolution operator so that Γ M evolves into S λ t Γ M at time t and letting x t be the coordinates and momenta of S at time t, the quantity
W J S λ t Γ ; 0 t τ = 0 τ d t λ ˙ ( t ) H S λ ( x s ; λ ( t ) )
is introduced and called work [1]. Indeed, when λ represents a position in space and the derivative of H S with respect to λ represents a force, W J corresponds to a mechanical work. Following Ref. [1], one obtains that
W J S λ t Γ ; 0 t τ = H ( S λ τ Γ ; ω ) H ( Γ ; α )
and
e β W J α = 1 Q S + E ( α ) e β W J ( Γ ) e β H ( Γ ; α ) d Γ = Q S + E ( ω ) Q S + E ( α ) = e β F S + E ( ω ) F S + E ( α ) ,
where Δ F S + E = F S + E ( ω ) F S + E ( α ) is the difference of the free energies of S+E in the canonical equilibrium at temperature T with parameters ω and α , respectively. To obtain the free-energy difference essentially related to S, the following quantity is introduced
H S * ( x ; λ ) = H S ( x ; λ ) 1 β ln d y e β H E ( y ) + h int ( x , y ) d y e β H E ( y ) ,
which was proposed by Kirkwood [11] to treat subsystems of macroscopic dense fluids in thermodynamic equilibrium. The quantity H S * ( x ; λ ) is the energy of S plus an average contribution coming from the interaction of S with E. Then, the system whose Hamiltonian is H S * , S * say, can be associated to the canonical ensemble
p S * ( x ; λ ) = e β H S * ( x ; λ ) Q S * ( λ ) ; Q S * ( λ ) = d x e β H S * ( x ; λ )
and to the free energy
F S * ( λ ) = β 1 ln Q S * ( λ ) ,
i.e., the free energy of a hypothetical system with Hamiltonian H S * . This quantity is then linked to the solvated free energy of “S in E” [12].
It is found that
Δ F α ω * F S * ( ω ) F S * ( α ) = F S + E ( ω ) F S + E ( α ) ,
which readily leads to the JE
e β W J α = e β Δ F α ω * ,
where · α is the canonical average with respect to the initial ensemble f α of S+E. As noted in Ref. [12], transformations of the free energy of a system strongly interacting with another one are not particularly interesting; hence, some kind of solvated free energy is preferred.
There are two aspects of this theory that seem to remain unscrutinized in the present literature. First, the energy exchange between S+E and B may be small, but so is the free-energy variation computed by means of the JE. Moreover, E can be absent in the Hamiltonian derivation or, equivalently, h int may vanish. This is the case of the Langevin derivation, outlined in the following section. However, there is a second major difference between the two derivations: B acts on S during the Langevin process, whereas in the Hamiltonian derivation B is not considered.

1.2. The Langevin Derivation of the JE

The JE can also be derived under a stochastic framework [13], particularly using the Langevin equation [2,4]
d X t = F X t , λ ( t ) d t + 2 β d W t , F x , λ ( t ) = x U x , λ ( t ) ,
where X t is the vector of position coordinates of S, U is a time-dependent potential with t [ 0 , τ ] , and W t is a Wiener process. Then,
w t = 0 τ λ U ( X t , λ ( t ) ) λ ˙ ( t ) d t
is a quantity related to the variations of the system’s energy produced by changes in λ . In the particular case in which λ represents a position in space, w t becomes a mechanical work. Additionally, when λ defines the position of the external agent exerting a force F on the system, w t describes the work carried out by the force ( F ) acting on the agent. Because there is no environment, the relevant free energy is that of S alone, which can be called intrinsic free energy. At a given λ , this is defined by
G ( λ ) = 1 β log Z ( λ ) ,
where
Z ( λ ) = Ω e β U ( x , λ ) d x ,
and Ω is the set of coordinates x. The quantity G ( λ ) is intrinsic in the sense that it solely refers to the properties of the system S. Thus, this framework is analogous to that adopted in the deterministic Hamiltonian derivation assuming weak coupling ( h int 0 ). However, unlike the Hamiltonian derivation, the stochastic Langevin formulation allows S to interact with B assuming that the kinetic energy plays no explicit role in the work statistics.
To obtain the JE, one can start from the joint random variable ( X t , w t ) and its probability density p t ( x , a ) , where a R . Then, the quantity of interest
p ˜ t ( x ) = d a e a p t ( x , a )
with initial condition
p ˜ 0 ( x ) = e β U ( x , λ ( 0 ) ) Z ( λ ( 0 ) )
obeys
p ˜ t ( x ) = 1 Z ( λ ( 0 ) ) exp β U ( x , λ ( t ) ) .
Because the average of the exponential of w t with respect to the initial distribution is expressed through
E 0 e w τ = Ω d x d a e a p τ ( x , a ) = Ω d x p ˜ τ ( x ) ,
by taking λ ( 0 ) = α and λ ( τ ) = ω , the JE is readily obtained
E 0 e w τ = Z ( ω ) Z ( α ) = exp β G ( ω ) G ( α ) .
Analogous to the Hamiltonian formulation, the JE is here derived irrespective of the form of λ ( t ) , as long as λ ( 0 ) = α and λ ( τ ) = ω , for any process time τ . Note that Equation (20) is the JE for the intrinsic—not the solvated—free-energy difference of S. Thus, when E is absent (in the Hamiltonian formulation), both derivations refer to the same intrinsic quantity.

1.3. Comparison between the Two Derivations

The above summaries show that the Hamiltonian and Langevin theoretical derivations refer to two different classes of experiments. The former refers to systems that do not interact with a heat bath for the duration of the work process, whereas the latter to systems that do interact with a thermal bath. The described experiments differ also in assuming the presence or the absence of a third object, called environment (here, denoted as E). The conditions in which E acts on S can be related to protein stretching experiments [14], where S can be represented by the protein, E by the water in which the protein is immersed, and B can be the air of the laboratory in which the water pool is situated. The Langevin setting may also involve an environment E. However, the interaction of E with S is reduced due to the viscosity damping applied to S and not to an effective interaction energy ( h int from Equation (1)). This is the case of the harmonic oscillators reviewed—along with other experimental settings—in Ref. [15].
In both derivations, the result is process independent. The protocol independence is less obvious under the Hamiltonian framework, where rapid transformations may not allow an efficient exchange of energy between S and B, and the number of particles as well as space and time scales strongly influence the system’s response to external perturbations.
We consider that the role of system–bath coupling in the work statistics—which is the measurable quantity in the JE—requires further evaluation. Assuming a condition in which E is absent, both Hamiltonian and Langevin derivations of the JE lead to the intrinsic free-energy variation and follow the same expression. The fact that nonequilibrium processes typically last only a short time supports that the exchanged energy may be negligible. However, this is a delicate assumption in at least two regards: (1) the values of the free-energy difference are usually small as well, and (2) the process independence convoked by both approaches allows the process time to be long.
To investigate such questions, we consider the molecular dynamics model of crystal nanoindentation described in Ref. [10] using Nosé–Hoover and Langevin thermostats. Our analysis shows that the the coupling between S and B has a clear effect on the resulting distributions of the kinetic energy and the mechanical work. Consequently, the left-hand side of the JE is affected. Interestingly, the work statistics obtained in indentations protocols that produce fully reversible elastic deformations in the crystal lead to different distributions as a function of the thermostat.

2. Computational Methods

2.1. Molecular Dynamics Setup: Crystal Nanoindentation

We carry out an extensive number of molecular dynamics (MD) simulations to investigate the properties of a minute (001)-oriented Ta crystal indented by a spherical nanoscopic tip. To run the simulations, we employ the open-source LAMMPS code [16]. The interatomic force field is modeled by means of the embedded-atom method potential developed by Ravelo et al. [17].
The Ta crystal has a cuboid shape of size 10.8 × 10.8 × 6 nm 3 and contains 40,293 particles. In the MD domain, the crystal’s particles are sorted into two groups: the particles contained in the two lowermost atomic planes of the crystal create an effective floor that prevents the downward displacement of the crystal during indentation as their motion is restricted. The remaining particles constitute the hereafter called particle system, which includes a total number of N = 39,204 particles whose positions, q { q 1 ; q 2 ; ; q N } , and velocities, v { v 1 ; v 2 ; ; v N } , are, respectively, denoted by q i = ( x i , y i , z i ) and v i = ( v i x , v i y , v i z ) for i = 1 , 2 , , N . The system’s particles are free to move and interact with each other according to the prescribed ensemble properties and the interatomic potential. Periodic boundaries are applied to the lateral sides of the crystal.
The indenter is modeled by a spherical-shaped repulsive potential,
Φ ( q , q c ) = i = 1 N φ ( q , q c ) ; φ ( q i , q c ) = k δ i 3 / 3 δ i 0 0 δ i > 0 ,
of radius R = 3 nm and center C with coordinates q c = ( x c , y c , z c ) , where k is the indenter stiffness and δ i = [ ( x i x c ) 2 + ( y i y c ) 2 + ( z i z c ) 2 ] 0.5 R . Note that the indenter acts on particle i when δ i 0 . Then, the repulsive force exerted on particle i, F i = ( φ / q i ) , takes
F i x , F i y , F i z = k δ i 2 x i x c , y i y c , z i z c / ( δ i + R ) δ i 0 0 δ i > 0 .
Here, k is set to 100 eV/Å 3 . Notice in Equation (22) that the direction of the repulsive force from the indenter is dictated by the ( q i q c ) vector.
Figure 1a depicts the computational domain in our MD simulations, which contains the Ta crystal and the repulsive indenter. This computational approach has been largely employed in MD studies of indentation in metallic bodies (cf. Ref. [18] and references therein).
We create an initial state in which the particles occupy the lattice positions of the Ta crystal and the velocities are taken from a normal distribution with 0 mean and a standard deviation scaled to produce a temperature T = 300 K. To generate an equilibrium canonical distribution at T, we run a preliminary 20 ps thermalization during which the particles follow NVT conditions with the Nosé–Hoover (NH) thermostat [19] controlling the system’s temperature at T = 300 K. Thus, the positions and velocities of the particles at t = 0 (i.e., prior to indentation) are sampled from the canonical distribution produced during the NVT thermalization run.
The indentation run consists of a closed loading/unloading loop where the indenter moves vertically with constant velocity, v ind = 10 m/s. The motion of the vertical coordinate of the indenter center, z c , is described through
z c ( t ) = z 0 h ( t ) , h ( t ) = v ind t t [ 0 , τ / 2 ) v ind ( τ t ) t [ τ / 2 , τ ] ,
where h ( t ) maps the penetration of the indenter during τ . Note that the maximum penetration, h max , is attained at t = τ / 2 , where z c ( t = τ / 2 ) = z 0 h max and τ = 2 h max / v ind ; see Figure 1b. We conveniently define z 0 such that the indenter tip and the top surface of the crystal are separated by a small vertical distance Δ = 0.5 Å, so that the constituting particles are guaranteed to lie outside of the radius of action of Φ at t = 0 and t = τ ; see Figure 1a. This also allows the particles to arrange initially into an unperturbed Ta bcc crystalline configuration during the thermalization run. The applied indentation load, P, is then defined as the sum of the vertical, repulsive force contribution, P = i = 1 N F i z , coming from the particles that satisfy δ i 0 ; see Equation (22). The computational timestep, dt, is set to 2 fs in all of the MD simulations.
In our indentation setting, the particles of the crystal constitute the system of interest S, the indenter—whose time dependent potential energy appears in the Hamiltonian of S—represents the external agent, and no environment is included, so h int = 0. The Hamiltonian of S is then given by
H ( q , p , q c ) = K ( p ) + V ( q ) + Φ ( q , q c ) ,
where q is the vector of position coordinates; p = m v is the vector of momenta of all particles, with m being the mass of a Ta atom and v being the set of their velocities; K ( p ) is the kinetic energy of the system (Section 2.2.2); and V ( q ) is the potential energy of the interatomic interactions. Note that, here, the time-dependent parameter of the Jarzynski theory is λ ( t ) = q c ( t ) , i.e., the moving center of the indenter potential Equation (21).
To evaluate the effect of the coupling between the system and the bath on the mechanical and kinetic response of the system to the indentation processes, we adopt the following computational approaches.
(1)
We perform MD indentation simulations using the (deterministic) NH thermostat with 3 NH chains [19] to implement a condition of constant number of particles N, volume V, and temperature (that represents the thermal bath at T = 300 K). To tune the coupling of the particles with the NH bath, we vary the NH thermostat parameter ω p that accounts for the frequency at which the particles are thermostatted; see the discussion given in Supplementary Section S1. With ω p = 100 dt, the energy exchange between the system and the NH bath is sensibly strong despite the short time of our indentation processes; see Supplementary Figure S1.
(2)
For ω p = 100,000 dt, the sluggishness of the heat flow between the system’s particles and the NH bath describes similar conditions to those considered in the Jarzynski theory, which neglects the system–bath coupling.
(3)
By removing the thermostat—i.e., the ω p = limit—we obtain an adiabatic evolution of the system with unthermostatted particles. These conditions emulate those considered in the Hamiltonian derivation of the JE.
(4)
Lastly, we use a stochastic Langevin thermostat at T = 300 K, which acts on the system via a random force [20]. We impose a damping coefficient of γ L = 1 ps 1 that allows an efficient energy exchange between the system and the Langevin bath. For further details, see Supplementary Section S2. This approach reproduces the scheme adopted in the Langevin derivation of the JE.

2.2. Computation of Thermodynamic and Mechanical Properties

Classical MD provides a window into the microscopic dynamical behavior of the constituent particles of the system. Thus, MD simulations—unlike experiments—give access to all the necessary dynamical ingredients of particle systems, which enables the computation of equilibrium macroscopic properties by sampling from a statistical mechanical ensemble.
In this investigation, special attention is given to two specific quantities measured during the indentation runs (during which Φ effectively acts on the system): (i) the mechanical work exerted to the indenter by the particles and (ii) the total kinetic energy of the system’s particles. In the following, we explain the post-simulation and on-the-fly algorithms that we employ to access to these quantities.

2.2.1. The Mechanical Work

The elementary mechanical work carried out on the indenter by the system,
d W S = i = 1 N ( F i z ) d z c = i = 1 N k δ i 2 η ( δ i ) δ i + R ( z i z c ) d z c ,
involves the infinitesimal displacements of the indenter, d q c = ( 0 , 0 , d z c ) and the opposite vertical forces, F i z , where η is the step function, so η ( δ i ) = 1 for δ i 0 and η ( δ i ) = 0 for δ i > 0 . (As discussed in Ref. [10], the elementary mechanical work carried out by the indenter on the system, d W I = i = 1 N F i · d q i , differs not only in the sign from Equation (25) but also substantially. Thus, an external operator cannot obtain the work carried out on the system W I from external measurements of d W S , particularly in small systems made of classical particles). Note that the negative sign in Equation (25) comes from the force that particle i exerts on the indenter as derived from the action–reaction principle. Because F i z 0 , the term d z c dictates the sign of d W S . Additionally, note that d z c = v ind dt during the loading stage and d z c = + v ind dt during unloading; see Equation (23).
We use an in-house post-simulation code to obtain d W S ( q , q c ; t ) by means of Equation (25). This equation is evaluated under evenly spaced infinitesimal time intervals of δ t = 0.05 ps that corresponds to a net (infinitesimal) variation in the vertical indenter motion of 5 pm (=0.05 Å). Finally, the total mechanical work W S carried out during a time interval from t = 0 to t = τ is calculated as the sum of the computed elementary works from Equation (25),
W S ( τ ) = d W S , 1 + d W S , 2 + + d W S , l ,
where l = τ / δ t . In our MD indentation setup, W S ( τ ) = W J ( τ ) [10].

2.2.2. The Total Kinetic Energy

We also obtain on-the-fly values of the total kinetic energy of the particle system,
K tot = i = 1 N K i = 1 2 i = 1 N m v i 2 = 1 2 i = 1 N m ( v i x 2 + v i y 2 + v i z 2 ) ,
where K i is the instantaneous, translational kinetic energy of particle i.
To investigate the effect of the system–bath coupling on the system’s thermodynamic properties during indentation, we assess the kinetic fluctuations of the system in terms of the statistical behavior of the quantity K tot . In our indentation simulations, K tot is evaluated every 0.05 ps (=25 dt). Since we perform swift nonequilibrium processes and our MD simulations refer to a relatively small number of particles ( N = O ( 10 4 ) ), the consequences of the thermodynamic limit can be observed. In particular, note that K tot might not coincide with 3 N k B T / 2 , where T is the bath’s temperature. When K tot is averaged over the ensemble of initial conditions, we refer to this quantity as K tot .

3. Results and Discussion

In this study, we present a statistical analysis of the work and the kinetic energy obtained during MD indentations performed in absence as well as in presence of thermal baths modeled by NH and Langevin thermostats. Attention is also given to the effect of the thermostat coupling on the left-hand side of the JE (Equation (11)), which is the measurable quantity in the Jarzynski theory. To this end, we consider two distinct indentation protocols that lead to different perturbations of the system. The load/unload indentation protocols are characterized in terms of maximum indenter penetration, h max , attained at t = τ / 2 . The dynamics of the particle system are defined according to the four distinct sampling methods described in Section 2.1. This gives us eight different indentation simulations. Each protocol is repeated over a large number of realizations (n = 1000). The individual realizations of the process corresponds to a different initial condition (at t = 0) drawn from the canonical distribution (2), produced during the NVT thermalization run during which the indenter potential Φ from Equation (24) is effectively 0; see Section 2.1.

3.1. Indentations with Elastic Deformations

The load/unload indentations with fixed maximum penetration h max = 0.1 R + Δ = 3.5 Å characterize the herein called elastic protocol; see Figure 1c. Our MD indentations with h max = 3.5 Å result in perturbations of the crystal that lead to elastic contacts between the indenter and the crystal’s surface (Supplementary Figure S3), where the resulting P h curves shown in Figure 2a follow a good agreement with the continuum elastic behaviour predicted by the Hertzian contact theory [21]. In this context, Figure 2a,b show that the unload stage approximately traces back the mechanical load path followed during loading, which suggests that the process is fully reversible. Additionally, notice that the load–unload curves are unaffected by the presence or absence of a thermostat. Interestingly, although the adiabatic and weakly thermostatted indentation are sampled from fundamentally different statistical ensembles, the corresponding P and K tot evolutions are practically identical; see the inset in Figure 2c. To confirm reversibility, Figure 2c further shows that the total kinetic energy of the particle system fluctuates around a constant K tot value irrespective of the thermostat coupling, even under unthermostatting conditions where there is strictly no coupling.
Reversibility in the indenter-induced elastic perturbation is also evident in the work evolutions shown in Figure 3a,b. Along the time interval [ 0 , τ ] , W S ( t ) gradually decreases from 0 to its minimum value at t = τ / 2 , and then, W S ( t ) increases during unloading, approximately matching the loading W S h path; see Figure 3b. Note that the discontinuity in Figure 3a stems from the fact that the indenter’s motion is inverted at t = τ / 2 whereas the forces exerted by the indenter at t = ( τ / 2 ) and at t = ( τ / 2 ) + remain identical.
Figure 3c shows the W S histograms from n = 1000 realizations of the indentations with h max = 3.5 Å, which reveals fundamental details regarding the work fluctuations as a function of the thermostat coupling. We find that all W S distributions nearly adhere to normal distributions with values of skewness, γ , close to 0. In addition, the indentations with varying NH thermostat parameter ω p (namely with ω p = 100 dt and ω p = 100,000 dt) produce similar W S distributions with μ 0.44 eV and σ 2 ≈ 0.016 eV 2 . However, the W S data from the indentations with Langevin-thermostatted particles substantially differ from the other indentations, where the resulting W S distribution becomes considerably wider (with σ 2 = 0.116 eV 2 ) and shifts toward more negative values (with an average value of μ 2.4 eV). We attribute this to the damping induced by the Langevin thermostat, which hinders the (elastic) recovery to the initial state. This is evidenced in the W S t / τ evolutions drawn in Figure 3b, which capture the gradual divergence of the W S values as t τ with Langevin-thermostatted particles as compared with that with NH-thermostatted particles (with ω p = 100 dt). (Note that the difference between these W S ( t = τ ) values exists because it exceeds the statistical deviation of the W S data from the indentations with NH-thermostatted particles. Additionally, note that a return to the initial state would require quasi-static transformations during which an efficient exchange of energy between the S and E occurs and W S ( τ ) = 0 ; see Ref. [10]. Clearly, these conditions are easier to obtain with Langevin baths as they tend to exchange energy with the system more efficiently than the NH thermostats that we employ).
In light of these results, we also find that the values of the measurable quantity in the JE, e β W J , are affected by the thermostatting coupling; cf. the table in Figure 3c.
The plots of Figure 3d show the K tot histograms as a function of the thermostat coupling. We also find that these indentations produce normal K tot distributions with values of the skewness, γ , close to 0. The probability density function (PDF) describing such normally distributed K tot datasets can then be approximated by the general form of the Gaussian function, g ( K tot , μ , σ ) = ( σ 2 π ) 1 exp [ ( K tot μ 2 ) / 2 σ 2 ] ; see the normalized histogram in Figure 3e. Contrarily to the W S distributions, the K tot histograms render similar values of the average ( μ ≈ 1520 eV) and the variance ( σ 2 ≈ 30–40 eV 2 ) regardless of the imposed thermostat coupling. Nonetheless, the indentation processes performed with a weak NH thermostat ( ω p = 100,000 dt) and with unthermostatted particles statistically produce distributions marginally shifted toward larger K tot values as compared with those with thermostatted particles; cf. Figure 3d.

3.2. Indentations with Plastic Deformations

With deeper indenter penetrations than those produced by the elastic protocol, the mechanical response changes drastically. In contrast to the reversible elastic deformations discussed in the previous section, indentations with h max > 4.5 Å induce in the crystal non-reversible plastic deformations that persist over time. In general terms, crystal plasticity allows metals to sustain deformations beyond the elastic limit through the formation of non-reversible crystalline distortions. In the case of indented metallic crystals, plasticity manifests through the generation of crystalline defects under the indenter tip; see Supplementary Figure S4 and also Ref. [18]).
The indentations concerning a load/unload process with a maximum value of the indenter penetration of h max = 0.3 R + Δ = 9.5 Å characterize the herein called plastic protocol; see Figure 1c. In these indentations, the transition to a plastic stage is attained at penetrations of h h max / 2 . Hence, the imposed h max is well within the penetration range in which plastic features can be readily observed in the P h curves.
The P-h curves from Figure 4a are characterized by an early elastic response followed by a marked load drop at the inception of plasticity. (Similar drops are observed in DNA pulling experiments [14]). With increasing penetration, further load drops result from the activation of additional plastic processes in the crystal. The P h evolution then diverges from the elastic fit, thus manifesting the emergence of irreversibility in the system. Note that, unlike in the elastic protocol, the onset of plasticity leads to a marked increase in the instantaneous kinetic energy in the indentations with weakly NH-thermostatted ( ω p = 100,000 dt) and unthermostatted particles; see Figure 4c. During unloading, the force vanishes at effective penetration values greater than 0 (or h f > Δ in Figure 4a). In this regard, steep unloading curves are a fundamental manifestation of the formation of a plastic imprint during the indentation process, which remains in the particle system upon removal of the indenter tip from the crystal’s surface. (For further details of such indentation responses in metals using nanometer-sized indenter tips, see Refs. [18,22]).
Irreversibility also becomes manifest in the W S time evolution obtained during the plastic protocol, where the load stage produces a greater absolute value of W S than during unloading (notice that W S takes a negative value over the [ 0 , τ / 2 ) time interval and a positive value over [ τ / 2 , τ ] ); see Figure 5a,b. As a result, indentations with h max = 9.5 Å systematically lead to negative W S ; see Figure 5c. Interestingly, our analysis indicates that the W S histograms exhibit relatively similar moments irrespective of the thermostat coupling, with an expected W S value of ≈−370 eV and a variance of σ 2 ≈ 3000 eV 2 . Somewhat unexpectedly, the W S distribution from the indentations with Langevin-thermostatted particles slightly differs from the deterministic approaches, as it only exhibits some left-hand skewness ( γ ≈ 0.4). Our results from the plastic protocol indicate that the the left-hand side of the JE is uncomputable as e β W J 0 ; see the table in Figure 5c).
The resulting thermal fluctuations obtained in the plastic protocol are assessed through the K tot and K tot distributions shown in Figure 5d,e, respectively. Upon the occurrence of plastic deformations in the crystal, the K tot distributions from the indentations with strong system–bath coupling substantially differ in terms of the employed thermostat. Moreover, the indentations with a strong coupling show that the simulations using the Langevin thermostat lead not only to a wider normally distributed K tot histogram than that obtained with the NH thermostat (with σ 2 = 0.223 eV 2 and 0.045 eV 2 , respectively) but also to statistically larger values of K tot ; see Figure 5d. This essentially highlights the differences in performance of stochastic vs. deterministic thermostats. On the other hand, the indentations with the system weakly coupled to the thermal bath produce K tot bimodal distributions as a result of the thermal fluctuations obtained before and after the onset of plasticity in the crystal. In addition, when thermostatting is effectively inoperative in the plastic protocol, the thermal fluctuations during indentation become markedly wild, and thus, the K tot distributions shift toward larger values and become much wider, with a variance of σ 2 ≈ 120 eV 2 as compared with the indentations with thermostatted particles ( σ 2 < 1 eV 2 ); see Figure 5e.

4. Conclusions

In this work, we study the effect that different deterministic and stochastic thermostats have on the mechanical and thermal properties of an indented Ta crystal. We perform MD simulations with unthermostatted and NH- and Langevin-thermostatted particles. The NH thermostats are characterized by the parameter ω p . With ω p = 100 dt, the NH bath effectively acts on the system while the NH thermostat with ω p = 100,000 dt allows only a limited exchange of energy between the system and the bath.
We present a systematic analysis of the work and kinetic fluctuations obtained in two distinct indentation protocols that produce reversible elastic and non-reversible plastic deformations in the crystal. Our main observations are summarized as follows:
  • In our indentation simulations, the system–bath coupling prescribed by the thermostats has a clear effect on the resulting work fluctuations. This is crucial when it comes to obtaining appropriate work statistics that enable free-energy difference calculations by means of the JE and related expressions.
  • In the MD indentations with unthermostatted and NH-thermostatted (with ω p = 100,000 dt) particles, the instantaneous kinetic energy of the system exhibits wild fluctuations when non-reversible plastic deformations are induced in the crystal.
  • The absence or presence of a stochastic thermostat in the dynamics of the particle system respectively represent the cases considered by the Hamiltonian and Langevin derivations of the JE. We find that the differences between the two approaches are substantial and bring about non-negligible effects in the calculation of the left-hand side of the JE. Such differences are clearly observable in the work distributions obtained under the fully reversible elastic protocol.

Supplementary Materials

The following are available online at https://www.mdpi.com/article/10.3390/e24091309/s1, Figure S1: Effect of the NH thermostat frequency ω p on the indentation load and kinetic energy fluctuations during the plastic protocol with h max = 9.5 Å, Figure S2: The effect of the damping factor γ L on the load-penetration curves and on the time evolution of the kinetic energy of the system, Figure S3: Atomistic snapshots captured during the elastic protocol ( h max = 3.5 Å) with NH-thermostatted particles ( ω p = 100 dt), Figure S4: Atomistic snapshots captured during the elastic protocol ( h max = 9.5 Å) with NH-thermostatted particles ( ω p = 100 dt) [23,24,25,26,27,28,29,30,31].

Author Contributions

L.R. conceived the investigation. J.V. and L.R. contributed equally to the design and implementation of the research, developed the analytical methods, and wrote the manuscript. J.V. performed the MD simulations and conduced the analysis of the computations. L.R. aided in interpreting the results. All authors have read and agreed to the published version of the manuscript.

Funding

L.R. acknowledges financial support by the Ministero dell’Università e della Ricerca (Italy), grant Dipartimenti di Eccellenza 2018–2022 (E11G18000350001). This research was performed under the auspices of Italian National Group of Mathematical Physics (GNFM) of INdAM. The work of J.V. was supported by Ministerstvo Školství, Mládeže a Tělovýchovy (Czech Republic) through the European Structural and Investment Fund project CZ.02.1.01/0.0/0.0/15_003/0000493, with institutional support RVO:61388998.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

The authors thank J. Alcalá for providing computational resources and G. Ciccotti for the useful discussions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Jarzynski, C. Nonequilibrium work theorem for a system strongly coupled to a thermal environment. J. Stat. Mech. Theory Exp. 2004, 2004, P09005. [Google Scholar] [CrossRef]
  2. Schmiedl, T.; Seifert, U. Optimal Finite-Time Processes in Stochastic Thermodynamics. Phys. Rev. Lett. 2007, 98, 108301. [Google Scholar] [CrossRef] [PubMed]
  3. Gomez-Marin, A.; Schmiedl, T.; Seifert, U. Optimal protocols for minimal work processes in underdamped stochastic thermodynamics. J. Chem. Phys. 2008, 129, 024114. [Google Scholar] [CrossRef] [PubMed]
  4. Aurell, E.; Mejía-Monasterio, C.; Muratore-Ginanneschi, P. Optimal protocols and optimal transport in stochastic thermodynamics. Phys. Rev. Lett. 2011, 106, 250601. [Google Scholar] [CrossRef]
  5. Aurell, E.; Mejía-Monasterio, C.; Muratore-Ginanneschi, P. Boundary layers in stochastic thermodynamics. Phys. Rev. E Stat. Nonlin. Soft Matter Phys. 2012, 85, 020103. [Google Scholar] [CrossRef]
  6. Davie, S.J.; Jepps, O.G.; Rondoni, L.; Reid, J.C.; Searles, D.J. Applicability of optimal protocols and the Jarzynski equality. Phys. Scr. 2014, 89, 048002. [Google Scholar] [CrossRef]
  7. Vilar, J.M.G.; Rubi, J.M. Failure of the Work-Hamiltonian Connection for Free-Energy Calculations. Phys. Rev. Lett. 2008, 100, 020601. [Google Scholar] [CrossRef]
  8. Talkner, P.; Hänggi, P. Open system trajectories specify fluctuating work but not heat. Phys. Rev. E 2016, 94, 022143. [Google Scholar] [CrossRef]
  9. Ciccotti, G.; Rondoni, L. Jarzynski on work and free energy relations: The case of variable volume. AIChE J. 2021, 67, e17082. [Google Scholar] [CrossRef]
  10. Varillas, J.; Ciccotti, G.; Alcalá, J.; Rondoni, L. Jarzynski equality on work and free energy: Crystal indentation as a case study. J. Chem. Phys. 2022, 156. [Google Scholar] [CrossRef]
  11. Kirkwood, J.G. Statistical Mechanics of Fluid Mixtures. J. Phys. Chem. Phys. 1935, 3, 300–313. [Google Scholar] [CrossRef]
  12. Jarzynski, C. Stochastic and Macroscopic Thermodynamics of Strongly Coupled Systems. Phys. Rev. X 2017, 7, 011008. [Google Scholar] [CrossRef]
  13. Seifert, U. Stochastic thermodynamics, fluctuation theorems and molecular machines. Rep. Prog. Phys. 2012, 75, 126001. [Google Scholar] [CrossRef] [PubMed]
  14. Monge, A.M.; Manosas, M.; Ritort, F. Experimental test of ensemble inequivalence and the fluctuation theorem in the force ensemble in DNA pulling experiments. Phys. Rev. E 2018, 98, 032146. [Google Scholar] [CrossRef]
  15. Ciliberto, S. Experiments in Stochastic Thermodynamics: Short History and Perspectives. Phys. Rev. X 2017, 7, 021051. [Google Scholar] [CrossRef]
  16. Plimpton, S. Fast Parallel Algorithms for Short-Range Molecular Dynamics. J. Comput. Phys. 1995, 117, 1–19. [Google Scholar] [CrossRef]
  17. Ravelo, R.; Germann, T.C.; Guerrero, O.; An, Q.; Holian, B.L. Shock-induced plasticity in tantalum single crystals: Interatomic potentials and large-scale molecular-dynamics simulations. Phys. Rev. B 2013, 88, 134101. [Google Scholar] [CrossRef]
  18. Varillas, J.; Očenášek, J.; Torner, J.; Alcalá, J. Understanding imprint formation, plastic instabilities and hardness evolutions in FCC, BCC and HCP metal surfaces. Acta Mater. 2021, 217, 117122. [Google Scholar] [CrossRef]
  19. Martyna, G.J.; Tuckerman, M.E.; Tobias, D.J.; Klein, M.L. Explicit reversible integrators for extended systems dynamics. Mol. Phys. 1996, 87, 1117–1157. [Google Scholar] [CrossRef]
  20. Allen, M.P.; Tildesley, D.J. Computer Simulation of Liquids, 2nd ed.; Oxford University Press: Oxford, UK, 2017. [Google Scholar]
  21. Johnson, K.L. Contact Mechanics; Cambridge University Press: Cambridge, UK, 1985. [Google Scholar]
  22. Varillas, J.; Očenášek, J.; Torner, J.; Alcalá, J. Unraveling deformation mechanisms around FCC and BCC nanocontacts through slip trace and pileup topography analyses. Acta Mater. 2017, 125, 431–441. [Google Scholar] [CrossRef]
  23. Hoover, W.G. Canonical dynamics: Equilibrium phase-space distributions. Phys. Rev. A 1985, 31, 1695–1697. [Google Scholar] [CrossRef] [PubMed]
  24. Nosé, S. A unified formulation of the constant temperature molecular dynamics methods. J. Chem. Phys. 1984, 81, 511–519. [Google Scholar] [CrossRef]
  25. Shinoda, W.; Shiga, M.; Mikami, M. Rapid estimation of elastic constants by molecular dynamics simulation under constant stress. Phys. Rev. B 2004, 69, 134103. [Google Scholar] [CrossRef]
  26. Plimpton, S.; Thomson, A.; Crozier, P.; Kohlmeyer, A. LAMMPS Massive-Parallel Atomistic Simulator Manual. 2022. Available online: https://lammps.sandia.gov/doc/Manual.html (accessed on 3 July 2022).
  27. Cai, W.; Li, J.; Yip, S. 1.09-Molecular Dynamics. In Comprehensive Nuclear Materials; Konings, R.J.M., Ed.; Elsevier: Oxford, UK, 2012; pp. 249–265. [Google Scholar]
  28. Schneider, T.; Stoll, E. Molecular-dynamics study of a three-dimensional one-component model for distortive phase transitions. Phys. Rev. B 1978, 17, 1302–1322. [Google Scholar] [CrossRef]
  29. Evans, D.J.; Morris, G. Statistical Mechanics of Nonequilibrium Liquids, 1st ed.; ANU E Press: Canberra, Australia, 2007. [Google Scholar]
  30. Stukowski, A. Visualization and analysis of atomistic simulation data with OVITO the Open Visualization Tool. Model. Simul. Mater. Sci. Eng. 2010, 18, 015012. [Google Scholar] [CrossRef]
  31. Honeycutt, J.D.; Andersen, H.C. Molecular dynamics study of melting and freezing of small Lennard-Jones clusters. J. Phys. Chem. 1987, 91, 4950–4963. [Google Scholar] [CrossRef]
Figure 1. Simulation setup. (a) Schematic representation of the indentation process. The computational domain contains the particle system of size 3.6 R × 3.6 R × 2 R and the repulsive spherical indenter of radius R modeled by Equation (21). The vertical coordinate of the indenter center, z c , is plotted in (b) as a function of the process time τ . (c) The evolution of the normalized effective penetration, ( h / R ) max where h = h Δ , as a function of t for both elastic and plastic cases with v ind = 10 m/s.
Figure 1. Simulation setup. (a) Schematic representation of the indentation process. The computational domain contains the particle system of size 3.6 R × 3.6 R × 2 R and the repulsive spherical indenter of radius R modeled by Equation (21). The vertical coordinate of the indenter center, z c , is plotted in (b) as a function of the process time τ . (c) The evolution of the normalized effective penetration, ( h / R ) max where h = h Δ , as a function of t for both elastic and plastic cases with v ind = 10 m/s.
Entropy 24 01309 g001
Figure 2. Single realizations of the elastic protocol ( h max = 3.5 Å) with four different system–bath thermostat couplings. The Hamiltonian of the particle system prior to indentation, H ( q , p , q c ( 0 ) ) , is identical in each realization. (a,b): P h and P t / τ curves, respectively. In (a), the overlap of the load and unload paths manifests reversibility in the elastic protocols. The gray line in (a) represents the elastic fit anticipated by the Hertzian contact theory, where P ( h ) 3 / 2 . (c) K tot time evolution. The dashed horizontal line in (c) marks the kinetic temperature, K tot = ( 3 N k B T )/2, expected with T = 300 K and N = 39,204 atoms. The inset to (c) shows the corresponding K tot distributions characterized by the first three central moments (see the table), where μ is the mean (in eV), σ 2 is the variance (in eV 2 ), and γ is the skewness of the K tot data.
Figure 2. Single realizations of the elastic protocol ( h max = 3.5 Å) with four different system–bath thermostat couplings. The Hamiltonian of the particle system prior to indentation, H ( q , p , q c ( 0 ) ) , is identical in each realization. (a,b): P h and P t / τ curves, respectively. In (a), the overlap of the load and unload paths manifests reversibility in the elastic protocols. The gray line in (a) represents the elastic fit anticipated by the Hertzian contact theory, where P ( h ) 3 / 2 . (c) K tot time evolution. The dashed horizontal line in (c) marks the kinetic temperature, K tot = ( 3 N k B T )/2, expected with T = 300 K and N = 39,204 atoms. The inset to (c) shows the corresponding K tot distributions characterized by the first three central moments (see the table), where μ is the mean (in eV), σ 2 is the variance (in eV 2 ), and γ is the skewness of the K tot data.
Entropy 24 01309 g002
Figure 3. Work and kinetic energy fluctuations as a function of the thermostat coupling during the elastic protocol. (a,b): Evolution of d W S and W S in terms of t / τ . The plots feature single realizations using NH-thermostatted ( ω p = 100 dt) particles in (a) and NH- and Langevin-thermostatted particles in (b). (c) W S histograms from 1000 realizations. W S stands for W S ( t = τ ) obtained by means of Equation (26). (d) K tot histograms from 1000 realizations. The Gaussian approximation of the K tot PDF—which describes near equilibrium processes—from the indentations with NH-thermostatted ( ω p = 100 dt) particles is given in (e).
Figure 3. Work and kinetic energy fluctuations as a function of the thermostat coupling during the elastic protocol. (a,b): Evolution of d W S and W S in terms of t / τ . The plots feature single realizations using NH-thermostatted ( ω p = 100 dt) particles in (a) and NH- and Langevin-thermostatted particles in (b). (c) W S histograms from 1000 realizations. W S stands for W S ( t = τ ) obtained by means of Equation (26). (d) K tot histograms from 1000 realizations. The Gaussian approximation of the K tot PDF—which describes near equilibrium processes—from the indentations with NH-thermostatted ( ω p = 100 dt) particles is given in (e).
Entropy 24 01309 g003
Figure 4. Single realizations of the plastic protocol ( h max = 9.5 Å) with the four different thermostat couplings. The Hamiltonian of the particle system prior to indentation, H ( q , p , q c ( 0 ) ) , is identical in each realization. (a,b): P h and P t / τ curves, respectively. The process exhibits the emergence of irreversibility due to the indenter-induced plastic deformations in the crystal evidenced by the utterly mismatched load and unload paths. The gray line in panel (a) represents the elastic fit given by the Hertzian contact theory, where P ( h ) 3 / 2 . Note in (a) that departure from the elastic behavior (highlighted with a red circle) manifests the inception of plasticity. (c) K tot t / τ evolution during the indentations with h max = 9.5 Å. The dashed horizontal line in (c) marks macroscopic kinetic temperature, K tot = ( 3 N k B T )/2, expected with T = 300 K and N = 39,204 atoms.
Figure 4. Single realizations of the plastic protocol ( h max = 9.5 Å) with the four different thermostat couplings. The Hamiltonian of the particle system prior to indentation, H ( q , p , q c ( 0 ) ) , is identical in each realization. (a,b): P h and P t / τ curves, respectively. The process exhibits the emergence of irreversibility due to the indenter-induced plastic deformations in the crystal evidenced by the utterly mismatched load and unload paths. The gray line in panel (a) represents the elastic fit given by the Hertzian contact theory, where P ( h ) 3 / 2 . Note in (a) that departure from the elastic behavior (highlighted with a red circle) manifests the inception of plasticity. (c) K tot t / τ evolution during the indentations with h max = 9.5 Å. The dashed horizontal line in (c) marks macroscopic kinetic temperature, K tot = ( 3 N k B T )/2, expected with T = 300 K and N = 39,204 atoms.
Entropy 24 01309 g004
Figure 5. Work and kinetic energy fluctuations as a function of the thermostat coupling during the plastic protocol. (a,b): Evolution of d W S and W S in terms of t / τ . The plots concern a single realization using NH-thermostatted particles. (c): W S histograms from 1000 realizations. W S stands for W S ( t = τ ) obtained by means of Equation (26). (d,e): K tot and K tot histograms from 1000 realizations. The quantity K tot corresponds to the averaged value of K tot over τ obtained for each individual realization.
Figure 5. Work and kinetic energy fluctuations as a function of the thermostat coupling during the plastic protocol. (a,b): Evolution of d W S and W S in terms of t / τ . The plots concern a single realization using NH-thermostatted particles. (c): W S histograms from 1000 realizations. W S stands for W S ( t = τ ) obtained by means of Equation (26). (d,e): K tot and K tot histograms from 1000 realizations. The quantity K tot corresponds to the averaged value of K tot over τ obtained for each individual realization.
Entropy 24 01309 g005
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Varillas, J.; Rondoni, L. Work and Thermal Fluctuations in Crystal Indentation under Deterministic and Stochastic Thermostats: The Role of System–Bath Coupling. Entropy 2022, 24, 1309. https://doi.org/10.3390/e24091309

AMA Style

Varillas J, Rondoni L. Work and Thermal Fluctuations in Crystal Indentation under Deterministic and Stochastic Thermostats: The Role of System–Bath Coupling. Entropy. 2022; 24(9):1309. https://doi.org/10.3390/e24091309

Chicago/Turabian Style

Varillas, Javier, and Lamberto Rondoni. 2022. "Work and Thermal Fluctuations in Crystal Indentation under Deterministic and Stochastic Thermostats: The Role of System–Bath Coupling" Entropy 24, no. 9: 1309. https://doi.org/10.3390/e24091309

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop