*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_node radius r_node theta_start theta_end angle_node phi_start phi_end angle_type

Type

HyperMesh Tcl Modify Command

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_node
A node specifying the center.
radius
The radius of the sphere.
r_node
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_node
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.