.. _InitialStateAnalysisWrapper: InitialStateAnalysisWrapper Material ************************************ .. tabs:: .. tab:: Tcl .. function:: nDMaterial InitialStateAnalysisWrapper $matTag $nDMatTag $nDim .. tab:: Python .. code-block:: python ops.nDMaterial('InitialStateAnalysisWrapper', matTag, nDMatTag, nDim) .. csv-table:: :header: "Argument", "Type", "Description" :widths: 10, 10, 40 $matTag, |integer|, unique nD material tag $nDMatTag, |integer|, tag of the wrapped nD material $nDim, |integer|, "number of dimensions: 2 for 2D, 3 for 3D" .. rubric:: Discussion This command is used to construct an InitialStateAnalysisWrapper material, which is used with the **InitialStateAnalysis** command to develop an initial stress field, e.g. from gravity, while keeping the original geometry of the model: while the initial state analysis is on, the strains of the wrapped material are computed, but the displacements are reset to zero when it is turned off. .. note:: #. The material has no element recorder responses of its own. #. **InitialStateAnalysis off** removes all the recorders defined before it, so two sets of recorders are needed to record the response before and after. #. In a dynamic analysis, resetting the displacements to zero may be seen as an initial displacement in later steps, and cause spurious vibration. .. admonition:: Example: The following example wraps the soil material **1** for a 2D model. .. tabs:: .. tab:: Tcl .. code-block:: tcl nDMaterial ElasticIsotropic 1 20000.0 0.3 1.8 nDMaterial InitialStateAnalysisWrapper 2 1 2 .. tab:: Python .. code-block:: python ops.nDMaterial('ElasticIsotropic', 1, 20000.0, 0.3, 1.8) ops.nDMaterial('InitialStateAnalysisWrapper', 2, 1, 2) Code Developed by: |chris|