MATLAB: Is it possible to model air/fluid density in a simscape model

hydrodynamicsmodelsimmechanicsSimscapeSimscape Multibodysimulinkunderwater

I'm trying to develop a model for an underwater system and I was wondering if there was a way to model hydrodynamic effects (buoyancy/disturbances/inertia etc) using Simscape?

Best Answer

Simscape Multibody (Sim Mechanics) does not model the environment around your system, except for the gravity acceleration. To include hydrodynamics effects you can use the External Force and Torque bloc. For example, buoyancy would be a constant upward force (in the world reference frame) depending on the geometry of the solid and the mass of the surrounding fluid.
Related Question