ansys.mapdl.core.Mapdl.mshape#
- Mapdl.mshape(key='', dimension='', **kwargs)#
For elements that support multiple shapes, specifies the element shape to be used for meshing.
Mechanical APDL Command: MSHAPE
- Parameters:
- key
intorstr Key indicating the element shape to be used:
0- Mesh with quadrilateral-shaped elements whenDimension= 2D mesh with hexahedral- shaped elements whenDimension= 3D.1- Mesh with triangle-shaped elements whenDimension= 2D mesh with tetrahedral-shaped elements whenDimension= 3D.
- dimension
str Specifies the dimension of the model to be meshed:
2D- 2D model (area mesh).3D- 3D model (volume mesh).
- key
Notes
If no value is specified for
Dimensionthe value ofKEYdetermines the element shape that will be used for both 2D and 3D 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.This command is also valid for rezoning.