.. _InitStress: InitStress Material ******************* .. tabs:: .. tab:: Tcl .. function:: nDMaterial InitStress $matTag $otherTag $sig0 <$nDim> .. tab:: Python .. code-block:: python ops.nDMaterial('InitStress', matTag, otherTag, sig0, ) .. csv-table:: :header: "Argument", "Type", "Description" :widths: 10, 10, 40 $matTag, |integer|, unique nD material tag $otherTag, |integer|, "tag of the nD material whose response is used; it must already be of the stress state used by the element (see the notes)" $sig0, |float|, "initial stress, applied to each normal stress component" $nDim, |integer|, "number of dimensions (optional; accepted, but not used)" .. rubric:: Discussion This command is used to construct an InitStress material, which adds an initial stress to an nD material: the strain corresponding to the initial stress is computed from the other material, and the stress-strain response is that of the other material, shifted so that the stress is the initial stress at zero strain. It is the nD counterpart of the uniaxial :ref:`InitStress ` material; for an initial strain, use :ref:`InitStrain `. .. note:: #. The other material must be of a specific stress state: a wrapper, e.g. :ref:`PlaneStress `, :ref:`PlaneStrain `, :ref:`PlateFiber ` or :ref:`BeamFiber `, or a material defined for one state, e.g. :ref:`J2BeamFiber `. A general material, e.g. ElasticIsotropic, gives the error *subclass responsibility* and OpenSees stops. #. The element is given a copy of the other material as it is, whatever stress state the element asks for, so the stress state of the other material must be the one the element uses. #. The initial stress is applied to the normal stress components: the first three for ThreeDimensional, the first two for PlaneStress, PlaneStrain and PlateFiber, and the first one for BeamFiber. #. **InitStressMaterial**, **InitStressND** and **InitStressNDMaterial** are other names for this material (the last two in Python only). .. admonition:: Example: The following example adds an initial stress of **-10.0** to the elastic material **1**, for plane stress elements. .. tabs:: .. tab:: Tcl .. code-block:: tcl nDMaterial ElasticIsotropic 1 3000.0 0.2 nDMaterial PlaneStress 2 1 nDMaterial InitStress 3 2 -10.0 .. tab:: Python .. code-block:: python ops.nDMaterial('ElasticIsotropic', 1, 3000.0, 0.2) ops.nDMaterial('PlaneStress', 2, 1) ops.nDMaterial('InitStress', 3, 2, -10.0) Code Developed by: |mhs|