mshape

Mapdl.mshape(key='', dimension='', **kwargs)

For elements that support multiple shapes, specifies the element shape

APDL Command: MSHAPE to be used for meshing.

Parameters
key

Key indicating the element shape to be used:

0 - Mesh with quadrilateral-shaped elements when Dimension = 2-D mesh with

hexahedral-shaped elements when Dimension = 3-D.

1 - Mesh with triangle-shaped elements when Dimension = 2-D mesh with tetrahedral-

shaped elements when Dimension = 3-D.

dimension

Specifies the dimension of the model to be meshed:

2D - 2-D model (area mesh).

3D - 3-D model (volume mesh).

Notes

If no value is specified for Dimension the value of KEY determines the element shape that will be used for both 2-D and 3-D meshing. In other words, if you specify MSHAPE,0, quadrilateral-shaped and hexahedral- shaped elements will be used. If you specify MSHAPE,1, triangle-shaped and tetrahedral-shaped elements will be used.

The MSHAPE, MSHKEY, and MSHMID commands replace the functionality that was provided by the ESHAPE command in ANSYS 5.3 and earlier releases.

This command is also valid for rezoning.