For each element one residual stress tensor can be specified by the keyword *INITIAL CONDITIONS, TYPE=STRESS. The residual stress should be defined before the first *STEP card.