*surfacespherefromthreepoints

Creates a full or partial sphere, and optionally, prepares it for immediate use within the automesher. It can also identify a region in the shape of such a sphere for the automesher to use under the mesh without surface option.

Syntax

*surfacespherefromthreepoints center radius r theta start theta end angle phi start phi end angle type

Type

HyperMesh Tcl Modify

Description

Creates a full or partial sphere, and optionally, prepares it for immediate use within the automesher. It can also identify a region in the shape of such a sphere for the automesher to use under the mesh without surface option.

Inputs

center
A node specifying the center.
radius
The radius of the sphere.
r
A node specifying the r vector.
theta start
Angle at which theta starts (0.0 to < theta end).
theta end
Angle at which theta ends (> theta start to 360.0).
angle
A node specifying the angle vector.
phi start
Angle at which phi starts (-90.0 to < phi end).
phi end
Angle at which phi ends (> phi start to 90.0).
angle type
Defines whether the angle vector is to be theta or phi.
0 - The angle vector will be theta.
1 - The angle vector will be phi.

Example

To create one quarter of a sphere with a radius of 10 through using nodes 1, 2 and 3, but not create any elements:

*surfacemode(4)
*surfacespherefromthreepoints(1,10.0,2,0.0,180.0,3,0.0,90.00,0)

The *surfacemode(4) directive tells HyperMesh not to pass the information on to the automesher for element creation.

Errors

None.