FEATool  v1.7
Finite Element Analysis Toolbox
 All Files Functions Pages
gobj_cylinder.m File Reference

Description

GOBJ_CYLINDER Create cylinder geometry object.

[ GOBJ ] = GOBJ_CYLINDER( P, R, L, AX, TAG, N_S ) Creates a cylinder geometry object. Accepts the following input parameters.

Parameter   Value/{Default}           Description
-----------------------------------------------------------------------------------
p           array  {[0 0 0]}          Coordinates of center
r           scalar {1}                Radius
l           scalar {1}                Length/height of cylinder
ax          flag   {1}                Axis direction (1/2/3 = x/y/z-axis)
tag         string {C1}               Geometry object tag/name
n_s         scalar {16}               Number of segments in boundary approximation
Generated fields of gobj: