*surfacetorus
Creates a full or partial torus, and optionally, prepares it for immediate use in the automesher. It also can identify a toroidal region for the automesher to use with the mesh without surface option.
Syntax
*surfacetorus center major vector normal vector minor radius major radius major start angle major end angle minor start angle minor end angle
Type
HyperMesh Tcl Modify
Description
Creates a full or partial torus, and optionally, prepares it for immediate use in the automesher. It also can identify a toroidal region for the automesher to use with the mesh without surface option.
Inputs
- center
- A node specifying the major center of the torus.
- major vector
- A node specifying the major axis of the torus.
- normal vector
- A node specifying the normal axis of the torus.
- minor radius
- The minor radius of the torus.
- major radius
- The major radius of the torus.
- major start angle
- Angle at which the major radius of the torus starts (0.0 to < major end angle).
- major end angle
- Angle at which the major radius of the torus ends (> major start angle to 360.0).
- minor start angle
- Angle at which the minor radius of the torus starts (0.0 to < minor end angle).
- minor end angle
- Angle at which the minor radius of the torus ends (> minor start angle to 360.0).
Example
This example creates the bottom half of a torus with center at node 1, normal vector at node 12, major vector at node 4, and a major radius of 10 and a minor radius of 2.5, but does not continue to the automesher for element creation:
*surfacemode(4)
*surfacetorus(1,12,4,2.5,10.0,0.0000,360.0000,180.0000,
360.0000)
The *surfacemode(4) directive tells HyperMesh not to pass the information on to the automesher for element creation.
Errors
None.