Moment computation on floatings 2
Following the question i've made in the post :
I re-work, once again , my question. I simulate a stability experience, trying to determine the transversal righting moment value as a function of the heel angle of the hull.
To do so, the boat is free to move along Z, letting the code adjust the displacement. The boat can pitch around the Center of Gravity, which is taken in the YZ plane, in order balance the pitch of the hull. When I compute the Moment of Forces on the hull around the X axis, I do not observe no changes in the sign of the computed moment. Why ?https://forums.dual.sphysics.org/uploads/444/HMPFYW7ZA8UY.png
Here is the example of 2 simulations made. I represent here the converged state of 2 calculations for two heel angles.
Hull in Green :
+114 520 N.m-1
Hull in pink :
+51 286 N.m-1
The gravity forces induces no moment, since it passes by the origin. Only the buyoant forces shall produce a resulting moment. And because the buyoant center swaps from side to side, I expect the sign of the moment to change.
Can somenone help me, please ? What I am missing ?
Thanks for your attention and your kind help