COMPONENT_SPHERE
Mesh commands
*COMPONENT_SPHERE
"Optional title"
coid, pid, N, N${}_c$, csysid, $\alpha_c$
$x_0$, $y_0$, $z_0$, $R_1$, $R_2$
"Optional title"
coid, pid, N, N${}_c$, csysid, $\alpha_c$
$x_0$, $y_0$, $z_0$, $R_1$, $R_2$
Parameter definition
Variable
Description
coid
Component ID
pid
Part ID
N
Mesh density parameter (see figure below)
N${}_c$
Number of elements in circumferential direction (only used if $\alpha_c \neq 360^\circ \mathrm{)}$
csysid
Local coordinate system ID
$\alpha_c$
Angle in circumferential direction
$x_0$, $y_0$, $z_0$
Sphere center coordinate
$R_1$
Sphere radius 1
$R_2$
Sphere radius 2
Description
This command is used to define a sphere with part ID pid. A hollow sphere is generated if both $R_1$ and $R_2$ are non-zero.
Example
Define sphere component
Definition of a sphere with component ID 3 and part ID 30, with its center coordinate at $(1, 2, 3)$ and with radius 4.
*COMPONENT_SPHERE
"sphere with radius R=4"
3, 30, 4
1.0, 2.0, 3.0, 4.0
Define sphere component (slice)
Definition of a $45^\circ$ sphere slice with component ID 4 and part ID 40, with its center coordinate at $(0, 0, 0)$ and with radius 1.
*COMPONENT_SPHERE
"45 degree sphere slice"
4, 40, 4, 2, 0, 45.0
0.0, 0.0, 0.0, 1.0
Define a hollow sphere component (slice)
Definition of a $45^\circ$ sphere slice with component ID 5 and part ID 50, with its center coordinate at $(0, 0, 0)$, with inner radius 0.75 and outer radius 1.
*COMPONENT_SPHERE
"45 degree hollow sphere slice"
5, 50, 4, 2, 0, 45.0
0.0, 0.0, 0.0, 0.75, 1.0
*CHANGE_P-ORDER
P, 50, 3