mapvar#

Mapdl.mapvar(option='', matid='', istrtstress='', ntenstress='', istrtstrain='', ntenstrain='', istrtvect='', nvect='', **kwargs)[source]#

Defines tensors and vectors in user-defined state variables for

APDL Command: MAPVAR rezoning and in 2-D to 3-D analyses.

Parameters:
option

DEFINE

DEFINE - Define variables for the specified MatId material ID (default).

LIST - List the defined variables for the specified MatId material ID.

matid

The material ID for the state variables which you are defining (Option = DEFINE) or listing (Option = LIST).

istrtstress

The start position of stress-like tensors in the state variables. This value must be either a positive integer or 0 (meaning no stress-like tensors).

ntenstress

The number of stress-like tensors in the state variables. This value must be either a positive integer (or 0), and all stress-like tensors must be contiguous.

istrtstrain

The start position of strain-like tensors in the state variables. This value must be either a positive integer or 0 (meaning no strain-like tensors).

ntenstrain

The number of strain-like tensors in the state variables. This value must be either a positive integer (or 0), and all strain-like tensors must be contiguous.

istrtvect

The start position of vectors in the state variables. This value must be either a positive integer or 0 (meaning no vectors).

nvect

The number of vectors in the state variables. This value must be either a positive integer (or 0), and all vectors must be contiguous.

Notes

The MAPVAR command identifies the tensors and vectors in user-defined state variables (TB,STATE) for user-defined materials (TB,USER and UserMat or UserMatTh) or user-defined creep laws (TB,CREEP,,,,100 and UserCreep).

The command ensures that user-defined state variables are mapped correctly during rezoning and in 2-D to 3-D analyses.

In a rezoning operation, MAPVAR must be issued after remeshing (REMESH,FINISH) but before mapping (MAPSOLVE).