Rigid Body Cylinder

On this page

A rigid body cylinder is a circular rod of uniform density; its mass and inertia follow from its length and radius.

A rigid body cylinder: a circular rod of uniform density along the X axis

Parameters

Units are shown in SI (m, kg, s, N, rad). MOMDYN does not enforce units, so any consistent set works, but angles are always in radians.

NameTypeDefaultUnitsDescription
namestrNone—Key to be used when referencing this cylinder.
ref_point_keystr'origin'—Key of the point to which this cylinder is attached, either at its CG, aft, or forward ends.
ref_frame_keystr'inertial'—Key of the frame to which this cylinder orientation is defined.
densitynumeric0kg/m³Uniform density of this cylinder.
lengthnumeric0mDimension of this cylinder in the X-axis of the body-fixed frame.
radiusnumeric0mDimension of this cylinder in the Y- and Z-axis of the body-fixed frame.
attach_tostr'CG'—CG, fore, or aft
colorstr'Green'—Color of the body in the diagram view (default Green). It does not affect the physics.

Equations

Mass of a cylinder with length ℓ (X), radius r and density ρ:

m=ρ πr2ℓm = \rho\,\pi r^2 \ell

Moments of inertia about the center of gravity:

Ixx=12mr2,Iyy=Izz=m12(3r2+ℓ2)I_{xx} = \tfrac{1}{2} m r^2, \qquad I_{yy} = I_{zz} = \tfrac{m}{12}\left(3 r^2 + \ell^2\right)

Sign conventions & notes

  • attach_to is 'CG', 'fore' or 'aft' and selects which place on the body sits at the point ref_point_key: its center of gravity, or one end of its length.

  • The axis of the cylinder is the X axis of the body-fixed frame, which is oriented in ref_frame_key.

Search the docs