A body the water carries (#3432): the water's forces on every segment
(resolveHydrodynamicForce) summed over the posed body, the height at
which a still body floats, and a glide slowed by drag, integrated at plan
time by the engine's integrator.
The float is the root height at which the buoyancy of the posed body
equals its weight (Archimedes), found by bisection on the root's height:
the submerged volume grows monotonically as the body is lowered. The
glide is the root's horizontal speed under the summed drag of the body
held in its shape, m dv/dt = -Σ ½ ρ C_d A |v| v, integrated from its
start (integrateMotionTrajectory), so it decays as quadratic drag does,
v0 / (1 + k v0 t) with k = Σ ½ ρ C_d A / m.
The registered swimImmersed law uses the same segment model for a held
supine shape and for an opt-in breaststroke. The stroke uses each segment's
own motion relative to still water and constrains travel to the heading at
its initial buoyant trim. Free heave and rotation remain outside this model.
A body the water carries (#3432): the water's forces on every segment (
resolveHydrodynamicForce) summed over the posed body, the height at which a still body floats, and a glide slowed by drag, integrated at plan time by the engine's integrator.The float is the root height at which the buoyancy of the posed body equals its weight (Archimedes), found by bisection on the root's height: the submerged volume grows monotonically as the body is lowered. The glide is the root's horizontal speed under the summed drag of the body held in its shape,
m dv/dt = -Σ ½ ρ C_d A |v| v, integrated from its start (integrateMotionTrajectory), so it decays as quadratic drag does,v0 / (1 + k v0 t)withk = Σ ½ ρ C_d A / m.The registered swimImmersed law uses the same segment model for a held supine shape and for an opt-in breaststroke. The stroke uses each segment's own motion relative to still water and constrains travel to the heading at its initial buoyant trim. Free heave and rotation remain outside this model.