Files
Ymir/core/tests/simulation
vinihcrosaandClaude Opus 4.8 90006bc246 feat(physics): match rudder forces to MATLAB Dynamics (table + slipstream)
Replace analytic thin-airfoil Cl/Cd and simplified actuator-disk inflow in
RudderForces with the MATLAB rudder.m model:

- Interpolate Cl/Cd from the rudder coefficient table vs inflow incidence beta,
  computed from actual longitudinal + transversal inflow (current, sway,
  yaw-rate lever).
- Propeller slipstream: p1 geometric factor x p2 actuator-disk term with hull
  wake efficiency; degrades to free-stream when the propeller is unloaded.
- RudderConfig carries coefficients table, thrusterDiameter, hullEfficiency,
  p1 (drops unused aspectRatio).
- Wire a representative balanced-rudder table + computed p1 through the WASM
  binding.

Add Catch2 tests: Cl/Cd table lookup at known beta (exact node + interpolated
midpoint) and slipstream amplification with an associated thruster. Update
existing rudder/integration test configs for the new config shape. Full ctest
green (257/257).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 21:34:14 -03:00
..