vmesh

Mapdl.vmesh(nv1='', nv2='', ninc='', **kwargs)

Generates nodes and volume elements within volumes.

APDL Command: VMESH

Parameters
  • nv1 – Mesh volumes from NV1 to NV2 (defaults to NV1) in steps of NINC (defaults to 1). If NV1 = ALL, NV2 and NINC are ignored and all selected volumes [VSEL] are meshed. If NV1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for NV1 (NV2 and NINC are ignored).

  • nv2 – Mesh volumes from NV1 to NV2 (defaults to NV1) in steps of NINC (defaults to 1). If NV1 = ALL, NV2 and NINC are ignored and all selected volumes [VSEL] are meshed. If NV1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for NV1 (NV2 and NINC are ignored).

  • ninc – Mesh volumes from NV1 to NV2 (defaults to NV1) in steps of NINC (defaults to 1). If NV1 = ALL, NV2 and NINC are ignored and all selected volumes [VSEL] are meshed. If NV1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for NV1 (NV2 and NINC are ignored).

Notes

Missing nodes required for the generated elements are created and assigned the lowest available numbers [NUMSTR]. During a batch run and if elements already exist, a mesh abort will write an alternative database file (File.DBE) for possible recovery.

Tetrahedral mesh expansion [MOPT,TETEXPND,Value] is supported for both the VMESH and FVMESH commands.

Examples

Set the material ID and type pointers to 2, then mesh volume 1 using mat 2 and type 2.

>>> mapdl.mat(2)
>>> mapdl.type(2)
>>> mapdl.vmesh(1)