*hmmeshsurfacetorus

Within the automeshing module, generates quad or tria elements using a surfaceless algorithm. Can only be used with *surfacemode(3) and one of the *surfacetorus...() commands.

Syntax

*hmmeshsurfacetorus quads

Type

HyperMesh Tcl Modify

Description

Within the automeshing module, generates quad or tria elements using a surfaceless algorithm. Can only be used with *surfacemode(3) and one of the *surfacetorus...() commands.

Inputs

quads
If nonzero, specifies that the created elements should be quads.

Example

This example identifies a region that corresponds to the upper half of a torus, and without making a surface, creates 400 elements with a density of 40 around the major circumference of the torus and 10 across the upper half.

*surfacemode(3)
*surfacetorus(17,19,18,20.0,115.0,0.0,360.0,0.0,180.0)
  *setedgemeshparams(0,10,0)
  *setedgemeshparams(1,40,0)
  *setedgemeshparams(2,10,0)
  *setedgemeshparams(3,40,0)
  *hmmeshsurfacetorus(1)
  *storeAMelemstodatabase(0)
*ameshclearsurface()

The densities specified by the commands must be equal for opposite edges.

*surfacemode(3) tells the automesher not to expect an actual surface.

Errors

None.