Comment by stass

9 hours ago

I cheated a little bit and don't calculate the fluid dynamics in real time. Instead, I'm using force models from the excellent Aero-Hydrodynamics of Sailing book by Marchaj, which is sadly out of print. I then do iterative balancing of the drag force and combined drag/lift forces on sails until they converge.