ansys.mapdl.core.Mapdl.layer#
- Mapdl.layer(num='', **kwargs)#
Specifies the element layer for which data are to be processed.
Mechanical APDL Command: LAYER
- Parameters:
- num
str
Layer-processing mode:
N
- The layer number to process. The default value is 0.FCMAX
- Processes the layer with the largest failure criteria.
- num
Notes
Specifies the element layer for which results data are to be listed, plotted, or otherwise processed.
Applies to stress and strain data for layered elements
SHELL181
,SHELL281
,ELBOW290
,SOLID185
,SOLID186
,SOLSH190
,SHELL208
,SHELL209
,REINF264
, andREINF265
; heat flux and heat gradient forSHELL131
andSHELL132
.For reinforcing elements,
N
is a given reinforcing member (individual reinforcing). SpecifyingN
= 0 (default) orN
= 1 selects the first reinforcing member.The shell command can then be used (with shell elements) to specify a location (TOP, MID, BOT) within the layer for output. (The shell command does not apply to thermal shell elements
SHELL131
andSHELL132
.) Transverse shear stresses for MID are linearly averaged from TOP and BOT, and do not reflect a parabolic distribution. Setting KEYOPT(8) = 2 forSHELL181
,SHELL281
,SHELL208
,SHELL209
, andELBOW290
writes the mid-surface values directly to the results file and yields more accurate values than linear averaging.Because energy is a per-element quantity, you cannot use this command for energy output.
When using the layer command with
SHELL181
,SOLID185
,SOLID186
,SOLSH190
,SHELL208
,SHELL209
,SHELL281
, andELBOW290
, KEYOPT(8) must be set to 1 (or 2 forSHELL181
,SHELL281
,ELBOW290
,SHELL208
, andSHELL209
) in order to store results for all layers.When
NUM
= FCMAX, you must provide the failure criterion input. If specifying input via the fc command, all structural elements are processed. For more information, see the documentation for the fc command.Use this command with rsys,LSYS to display results in the layer coordinate system for a particular layer.