Programming Question Buoyancy in Orbiter

Mr Martian

Orbinaut/Addon dev/Donator
Addon Developer
Donator
Joined
Jun 6, 2012
Messages
382
Reaction score
254
Points
78
Location
Sydney, Australia, Earth, Sol
Website
www.orbithangar.com
hey there, I was thinking about making an airship like craft. I originally thought of simply using hover engines to create the effect of buoyancy, but I thought it would be way cooler and much more realistic if I could actually make my vessel buoyant. I was wondering if this was even possible in Orbiter, and if so, how would I go about coding it?

any answers are much appreciated :)
 
hey there, I was thinking about making an airship like craft. I originally thought of simply using hover engines to create the effect of buoyancy, but I thought it would be way cooler and much more realistic if I could actually make my vessel buoyant. I was wondering if this was even possible in Orbiter, and if so, how would I go about coding it?

any answers are much appreciated :)

I remember that there is an add-on for that, not sure if it still works.

[ame="http://orbithangar.com/searchid.php?ID=1243"]Buoyancy[/ame]

Also Artlav has created a Venus base, that is just a giant balloon floating in the Venusian air.

[ame="http://orbithangar.com/searchid.php?ID=3488"]Shukra_Venus_Station_080813[/ame]
 
You can dig into the source code for this addon: [ame="http://orbithangar.com/searchid.php?ID=5092"]JELAIR-HotAirBalloon(UCGOandUMmu)[/ame]
It seems like the developer calculated the buoyant force created by the balloon and added it with AddForce.

But watch out, I guess that it would be very unstable at high time acceleration.
 
You can dig into the source code for this addon: JELAIR-HotAirBalloon(UCGOandUMmu)
It seems like the developer calculated the buoyant force created by the balloon and added it with AddForce.

But watch out, I guess that it would be very unstable at high time acceleration.

Yes, you need to solve differential equations there, Runge-Kutta is your friend for this and still, you can get some strangeness at longer time steps.
 
Back
Top