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.

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.
| Name | Type | Default | Units | Description |
|---|---|---|---|---|
name | str | None | — | Key to be used when referencing this cylinder. |
ref_point_key | str | 'origin' | — | Key of the point to which this cylinder is attached, either at its CG, aft, or forward ends. |
ref_frame_key | str | 'inertial' | — | Key of the frame to which this cylinder orientation is defined. |
density | numeric | 0 | kg/m³ | Uniform density of this cylinder. |
length | numeric | 0 | m | Dimension of this cylinder in the X-axis of the body-fixed frame. |
radius | numeric | 0 | m | Dimension of this cylinder in the Y- and Z-axis of the body-fixed frame. |
attach_to | str | 'CG' | — | CG, fore, or aft |
color | str | '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 ρ:
Moments of inertia about the center of gravity:
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.