*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 Command
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.