GEOMETRY_ELLIPSOID

Geometries

*GEOMETRY_ELLIPSOID
"Optional title"
gid, csysid
$x$, $y$, $z$, $R_x$, $R_y$, $R_z$

Parameter definition

Variable
Description
gid
Geometry identification number
csysid
Local coordinate system ID
default: global coordinate system is used
$x$, $y$, $z$
Center coordinate
$R_x$, $R_y$, $R_z$
Length of semi-axes

Description

This command is used to define an ellipsoid geometry, with its center at ($x, y, z$) and with semi-axes lengths ($R_x, R_y, R_z$). A local coordinate system can be used to direct the ellipsoid in an arbitrary direction.

Example

Ellipsoid filled with soil particles

En ellipsoid geometry (defined in a local coordinate system) is filled with discrete soil particles.

*UNIT_SYSTEM
SI
*PARAMETER
xc  = 0.4,  "x-center"
yc  = 0.2,  "y-center"
zc  = 0.5,  "z-center"
Rx  = 0.1,  "semi-axis x-direction"
Ry  = 0.2,  "semi-axis y-direction"
Rz  = 0.1,  "semi-axis z-direction"
ang = 30.0, "angle"
#
*PARTICLE_DOMAIN
0, 0, 10000
0, 0, 0,  1, 1, 1
*PARTICLE_SOIL
"soil"
1
DRY, 123
*GEOMETRY_ELLIPSOID
123, 22
0, 0, 0,  [%Rx], [%Ry], [%Rz]
*COORDINATE_SYSTEM_FIXED
22, [%xc], [%yc], [%zc]
[cos(%ang)], [sin(%ang)], 0,  [-sin(%ang)], [cos(%ang)], 0
*END