> For the complete documentation index, see [llms.txt](https://dante-solutions-inc.gitbook.io/dante-6.3-help-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dante-solutions-inc.gitbook.io/dante-6.3-help-documentation/readme/additional-topics-introduction/applying-initial-stress-in-dante-model.md).

# Applying Initial Stress in DANTE Model

DANTE mechanical material uses the Internal State Variable (ISV) plasticity model, and the internal stress tensors are treated as part of the ISV. This feature is used to include residual stresses from precious manufacturing processes in a heat treatment model, or take simulated residual stresses into a loading model using DANTE. In the mechanical model user subroutines, the initial stresses from the model input deck using “***\*initial conditions, type=stress, input=RS.TXT***” are handled properly as the initial stress conditions.

It is recommended that the ***RS.TXT*** file should use element centroid, or integration point format. Below is an example of the file format for a 2D axisymmetric model.

```
	CYLINER-2D-1.   1,        -420.714,     356.664E-03,        -440.346,        -7.17806
	CYLINER-2D-1.   2,        -408.251,         5.92911,        -421.309,        -24.3678
	CYLINER-2D-1.   3,        -222.751,         27.3990,        -277.297,        -50.0012
	CYLINER-2D-1.   4,        -45.6808,         52.4128,        -142.957,        -78.8747
	CYLINER-2D-1.   5,         84.9999,         85.6177,        -14.2865,        -113.042
	CYLINER-2D-1.   6,         185.060,         122.339,         107.279,        -142.432
	CYLINER-2D-1.   7,        -450.529,    -46.8477E-03,        -453.751,        -2.24377
	CYLINER-2D-1.   8,        -438.748,     12.5268E-03,        -439.863,        -4.34671
	CYLINER-2D-1.   9,        -297.583,     590.416E-03,        -323.500,        -9.11841
	CYLINER-2D-1.  10,        -124.473,         5.62419,        -190.637,        -22.5390
```

(>> Format: ***Instance name. element number, stress tensor values***)

The order of the stress tensor for a 3D model: S11, S22, S33, S12, S13, S23

The keyword in Abaqus input deck to take the residual stress file.

***\*Initial Conditions, Type=Stress, INPUT=RS.TXT***

Another approach of considering residual stresses in a DANTE stress analysis (heat treatment or loading) is to us "MAP Solution". Please reference [**Using Map Solution Feature**](/dante-6.3-help-documentation/readme/additional-topics-introduction/using-map-solution-feature.md).
