Back to main menu

Option: stress


-stress <component> <σ>

-stress <file>


This option allows to deform the system elastically according to the given applied stress. The elastic tensor of the system must be defined before calling this option, e.g. with the option -properties.

The user has to provide the following information:

If the stress component is "p" then an isostatic pressure is applied, and <σ> is actually be the value of the pressure. In other words the applied stress will be σxx = σyy = σzz = -<σ>, with all deviatoric stresses being zero.

Alternatively the stress components can be read from a <file>. The <file> must be a text file containing the keyword "Voigt" (without quotation marks) followed on the next line by the three first Voigt components of stress σxx, σyy, σzz, and on yet another line the last three components σyx, σzx, σzy. Alternatively the <file> can contain the keyword "stress" (without quotation marks) followed by the full 3x3 stress tensor (on three separate lines, three components per line).

From the given stress tensor, the system is deformed according to Hooke's law: εi = Cij σj .

In order to apply a deformation one can use the option -deform or the option -shear.


By default no stress is applied to the system.


Back to main menu