![]() |
| ||||||||||||||||||||||||||||||||||||||||||||||
|
|
Next: Constant-pressure integration with a Up: Mechanics Previous: Nosé-Hoover Thermostatting Contents
|
||||||||||||||||||||||||||||||||||||||||||||||
| (4.30) |
The NPTi integrator requires an instantaneous pressure. This quantity is calculated via the pressure tensor,
![]() |
(4.31) |
![]() |
(4.32) |
![]() |
(4.33) |
![]() |
(4.34) |
The instantaneous pressure is then simply obtained from the trace of the pressure tensor,
![]() |
(4.35) |
In eq.(4.29),
is the time constant for
relaxation of the pressure to the target value. To set values for
or
in a simulation, one would use the
tauBarostat and targetPressure keywords in the meta-data
file. The units for tauBarostat are fs, and the units for the
targetPressure are atmospheres. Like in the NVT integrator, the
integration of the equations of motion is carried out in a
velocity-Verlet style two part algorithm with only the following
differences:
moveA:
![]() |
||
![]() |
||
The propagation of positions to time
depends on the positions at the same time. OOPSE carries out
this step iteratively (with a limit of 5 passes through the iterative
loop). Also, the simulation box
is scaled uniformly for
one full time step by an exponential factor that depends on the value
of
at time
. Reshaping the box uniformly also scales the volume of
the box by
| (4.36) |
The doForces step for the NPTi integrator is exactly the same as in both the DLM and NVT integrators. Once the forces and torques have been obtained at the new time step, the velocities can be advanced to the same time value.
moveB:
![]() |
||
![]() |
||
![]() |
Once again, since
and
are required
to calculate
,
,
, and
, they indirectly depend on their own values at time
. moveB is therefore done in an iterative fashion until
and
become self-consistent. The relative tolerance for
the self-consistency check defaults to a value of
10
,
but OOPSE will terminate the iteration after 4 loops even if the
consistency check has not been satisfied.
The Melchionna modification of the Nosé-Hoover-Andersen algorithm is known to conserve a Hamiltonian for the extended system that is, to within a constant, identical to the Gibbs free energy,
![]() |
(4.37) |
![]() |
(4.38) |
Bond constraints are applied at the end of both the moveA and moveB portions of the algorithm. Details on the constraint algorithms are given in section 4.7.1.
|
|
Updated on January 16, 2006