change_box
This keyword changes the simulation box and atomic positions immediately when it is read from run.in.
For gradual deformation during a run, use deform.
Syntax
change_box <delta>
change_box <delta_xx> <delta_yy> <delta_zz>
change_box <delta_xx> <delta_yy> <delta_zz> <epsilon_yz> <epsilon_xz> <epsilon_xy>
Parameters
This keyword accepts 1 or 3 or 6 parameters.
In the case of 1 parameter \(\delta\) (in units of Ångstrom), the deformation matrix is
In the case of 3 parameters, \(\delta_{xx}\) (in units of Ångstrom), \(\delta_{yy}\) (in units of Ångstrom), and \(\delta_{zz}\) (in units of Ångstrom), the deformation matrix is
In the case of 6 parameters (the box type must be triclinic), \(\delta_{xx}\) (in units of Ångstrom), \(\delta_{yy}\) (in units of Ångstrom), \(\delta_{zz}\) (in units of Ångstrom), \(\epsilon_{yz}\) (dimensionless strain), \(\epsilon_{xz}\) (dimensionless strain), and \(\epsilon_{xy}\) (dimensionless strain), the deformation matrix is
Here, \(\epsilon_{yx}=\epsilon_{xy}\), \(\epsilon_{zx}=\epsilon_{xz}\), and \(\epsilon_{zy}=\epsilon_{yz}\): each shear input sets both corresponding off-diagonal elements of \(\mu\). These inputs are dimensionless. In the small-strain limit, the engineering shear strain is \(\gamma_{\alpha\beta}=2\epsilon_{\alpha\beta}\) for \(\alpha\ne\beta\). The diagonal inputs \(\delta_{xx}\), \(\delta_{yy}\), and \(\delta_{zz}\) are lengths in Ångstrom.
Output
None.
Examples
For an orthogonal box with \(a_x=100\) Å, the command:
change_box 1 0 0
increases the x box length to 101 Å and scales the x coordinates by 1.01, while leaving the y and z box lengths and coordinates unchanged.
Notes
Transformation
The box variables and the atom positions are changed according to the following equations:
The deformation matrix \(\mu_{\alpha\beta}\) is specified under Parameters. The transformation preserves the fractional atomic coordinates; atomic velocities are unchanged.