Explore rotational motion with torque and inertia. Choose shape moments or enter principal inertias directly. Get orientation, momentum, and energy tables for deeper analysis.
| Scenario | Body | m (kg) | Dimensions (m) | τ (N·m) | ω0 (rad/s) | dt, T (s) | Expected behavior |
|---|---|---|---|---|---|---|---|
| Free precession | Block | 2.0 | L=0.40, W=0.20, H=0.10 | (0, 0, 0) | (0, 3, 0) | 0.01, 3 | ω shifts due to asymmetric inertia. |
| Spin-up | Cylinder | 1.5 | r=0.08, h=0.20 | (0, 0, 0.15) | (0, 0, 2) | 0.005, 2 | Yaw accelerates with τz applied. |
| Stable sphere | Sphere | 1.0 | r=0.10 | (0.05, 0, 0) | (0, 0, 0) | 0.01, 2 | All axes behave similarly for equal inertia. |
This simulator assumes the rigid body rotates about its principal axes. The inertia tensor is diagonal, with principal moments Ix, Iy, and Iz.
Euler’s rotational equations for constant applied torque τ are:
Orientation is updated using a unit quaternion q with:
q̇ = 0.5 · q ⊗ [0, ω]
Angular momentum and energy are reported as: L = Iω and E = 0.5 (Ix ωx² + Iy ωy² + Iz ωz²).