Calculating the force a floating object receives from the flow

Hello, all,

I am interested in calculating the forces (drag and lift) on a floating body.

So, I used ComputeForces to get the force on the floating body in examples/main/12_FloatingWaves.

Looking at Forcefluid.x, I found that the force oscillates at +x and -x. However, considering the direction of the flow, the force in the -x direction seems strange, and looking at the animation and surge values, the floating body was moving in the +x direction.


Isn't this Forcefluid.x a drag force?

And if it is not a drag force, is there any way to calculate drag?

My English is not very good, so I'm sorry if I don't get it.




  • ForceFluid.X is the X-component of the fluid exerted onto the floating object.

    Positive values are computed in the direction of propagation of the wave.

Sign In or Register to comment.