Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buoyancy restoring calculations are wrong when using graded buoyancy. #1296

Closed
arjo129 opened this issue Jan 18, 2022 · 0 comments · Fixed by #1297
Closed

Buoyancy restoring calculations are wrong when using graded buoyancy. #1296

arjo129 opened this issue Jan 18, 2022 · 0 comments · Fixed by #1297
Assignees
Labels
bug Something isn't working 🏯 fortress Ignition Fortress 🌱 garden Ignition Garden

Comments

@arjo129
Copy link
Contributor

arjo129 commented Jan 18, 2022

Environment

  • OS Version: All
  • Fortress and Garden.

Description

Given an example world with restoring moments uniform buoyancy and graded buoyancy provide very different results.

Steps to reproduce

I have attached a simple world here:
https://gist.github.com/arjo129/ce5e553407163f32572bbfd2dc990740

This world has a setup where we have the center of buoyancy below the center of gravity.
buoyancy_volumes
As one can see the center of buoyancy (yellow being the buoyancy mesh) is below the actual center of the box which in turn is the center of gravity.

When using graded buoyancy the world seems stable.
buoyancy_graded_restoring

In practice according to common knowledge the center of buoyancy of a submarine should always be above the center of gravity for the world should be unstable:
image

This is consistent with the behavior of uniform buoyancy:
buoyancy_normal_restoring

@arjo129 arjo129 added the bug Something isn't working label Jan 18, 2022
@arjo129 arjo129 self-assigned this Jan 18, 2022
@arjo129 arjo129 added 🏯 fortress Ignition Fortress 🌱 garden Ignition Garden labels Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🏯 fortress Ignition Fortress 🌱 garden Ignition Garden
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant