Meshing#

These PREP7 commands are used to mesh solid models with nodes and elements.

Mapdl.accat([na1, na2])

Concatenates multiple areas in preparation for mapped meshing.

Mapdl.aclear([na1, na2, ninc])

Deletes nodes and area elements associated with selected areas.

Mapdl.aesize([anum, size])

Specifies the element size to be meshed onto areas.

Mapdl.amap([area, kp1, kp2, kp3, kp4])

Generates a 2-D mapped mesh based on specified area corners.

Mapdl.amesh([na1, na2, ninc])

Generates nodes and area elements within areas.

Mapdl.arefine([na1, na2, ninc, level, ...])

Refines the mesh around specified areas.

Mapdl.chkmsh([comp])

Checks area and volume entities for previous meshes.

Mapdl.clrmshln(**kwargs)

Clears meshed entities.

Mapdl.cpcyc([lab, toler, kcn, dx, dy, dz, ...])

Couples the two side faces of a cyclically symmetric model for loading that are the same on every segment.

Mapdl.czdel([grp1, grp2, grp3])

Edits or clears cohesive zone sections.

Mapdl.czmesh([ecomps1, ecomps2, kcn, kdir, ...])

Create and mesh an interface area composed of cohesive zone elements.

Mapdl.desize([minl, minh, mxel, angl, angh, ...])

Controls default element sizes.

Mapdl.eorient([etype, dir_, toler])

Reorients solid element normals.

Mapdl.erefine([ne1, ne2, ninc, level, ...])

Refines the mesh around specified elements.

Mapdl.esize([size, ndiv])

Specifies the default number of line divisions.

Mapdl.esys([kcn])

Sets the element coordinate system attribute pointer.

Mapdl.fvmesh([keep])

Generates nodes and tetrahedral volume elements from detached exterior

Mapdl.gsgdata([lfiber, xref, yref, rotx0, roty0])

Specifies the reference point and defines the geometry in the fiber

Mapdl.imesh([laky, nsla, ntla, kcn, dx, dy, ...])

Generates nodes and interface elements along lines or areas.

Mapdl.katt([mat, real, type_, esys])

Associates attributes with the selected, unmeshed keypoints.

Mapdl.kclear([np1, np2, ninc])

Deletes nodes and point elements associated with selected keypoints.

Mapdl.kesize([npt, size, fact1, fact2])

Specifies the edge lengths of the elements nearest a keypoint.

Mapdl.kmesh([np1, np2, ninc])

Generates nodes and point elements at keypoints.

Mapdl.krefine([np1, np2, ninc, level, ...])

Refines the mesh around specified keypoints.

Mapdl.kscon([npt, delr, kctip, nthet, rrat])

Specifies a keypoint about which an area mesh will be skewed.

Mapdl.latt([mat, real, type_, kb, ke, secnum])

Associates element attributes with the selected, unmeshed lines.

Mapdl.lccat([nl1, nl2])

Concatenates multiple lines into one line for mapped meshing.

Mapdl.lclear([nl1, nl2, ninc])

Deletes nodes and line elements associated with selected lines.

Mapdl.lesize([nl1, size, angsiz, ndiv, ...])

Specifies the divisions and spacing ratio on unmeshed lines.

Mapdl.lmesh([nl1, nl2, ninc])

Generates nodes and line elements along lines.

Mapdl.lrefine([nl1, nl2, ninc, level, ...])

Refines the mesh around specified lines.

Mapdl.mat([mat])

Sets the element material attribute pointer.

Mapdl.mcheck([lab])

Checks mesh connectivity.

Mapdl.modmsh([lab])

Controls the relationship of the solid model and the FE model.

Mapdl.mopt([lab, value])

Specifies meshing options.

Mapdl.mshape([key, dimension])

For elements that support multiple shapes, specifies the element shape

Mapdl.mshcopy([keyla, laptrn, lacopy, kcn, ...])

Simplifies the generation of meshes that have matching node element

Mapdl.mshkey([key])

Specifies whether free meshing or mapped meshing should be used to mesh

Mapdl.mshmid([key])

Specifies placement of midside nodes.

Mapdl.mshpattern([key])

Specifies pattern to be used for mapped triangle meshing.

Mapdl.nrefine([nn1, nn2, ninc, level, ...])

Refines the mesh around specified nodes.

Mapdl.psmesh([secid, name, p0, egroup, num, ...])

Create and mesh a pretension section

Mapdl.real([nset])

Sets the element real constant set attribute pointer.

Mapdl.rthick([par, iloc, jloc, kloc, lloc])

Defines variable thickness at nodes for shell elements.

Mapdl.shpp([lab, value1, value2])

Controls element shape checking.

Mapdl.smrtsize([sizlvl, fac, expnd, trans, ...])

Specifies meshing parameters for automatic (smart) element sizing.

Mapdl.tchg([ename1, ename2, etype2])

Converts 20-node degenerate tetrahedral elements to their 10-node non-

Mapdl.timp([elem, chgbnd, implevel])

Improves the quality of tetrahedral elements that are not associated

Mapdl.type([itype])

Sets the element type attribute pointer.

Mapdl.vatt([mat, real, type_, esys, secnum])

Associates element attributes with the selected, unmeshed volumes.

Mapdl.vclear([nv1, nv2, ninc])

Deletes nodes and volume elements associated with selected volumes.

Mapdl.vimp([vol, chgbnd, implevel])

Improves the quality of the tetrahedral elements in the selected

Mapdl.vmesh([nv1, nv2, ninc])

Generates nodes and volume elements within volumes.

Mapdl.veorient([vnum, option, value1, value2])

Specifies brick element orientation for volume mapped (hexahedron)

Mapdl.vsweep([vnum, srca, trga, lsmo])

Fills an existing unmeshed volume with elements by sweeping the mesh