Command manual

Command list

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$

Parameter definition

VariableDescription
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
default: global coordinates are used
$\alpha_c$ Angle in circumferential direction
default: $360^\circ$ (full sphere)
$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
Cut through spheres with mesh density N=4 and N=6.
Cut through spheres with mesh density N=4 and N=6.
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
$45^\circ$ sphere slice.
$45^\circ$ sphere slice.
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
$45^\circ$ hollow sphere slice.
$45^\circ$ hollow sphere slice.