Sign in to follow this  
Supernovae

Need some help with physics.

Recommended Posts

Hello

I'm very new to coding and i have this grand plan. My plan now is to create a solar system out of supernovae explosion. I know this will be very difficult to simulate, but i will get there eventually.

Thing is, i was thinking about getting some ready made code, so i do not have to do everything by my self. Is there any open source physics library that offers accurate gravity calculations etc.. Some sort of ready made code that calculates basic physics. It is very important that it would be very accurate.

Language i use is: c++

Thank you for reading.

Share this post


Link to post
Share on other sites
Yes, open source physics engines do exist, the most common is probaly [url="http://www.ode.org/"]ODE[/url], which does in fact implement gravity, but is ultimately a friction based system, the other most common systems are [url="http://developer.nvidia.com/physx"]Physx[/url] and [url="http://www.havok.com/"]Havok[/url], neither of which is open source but I believe both have a 'free' edition.


The problem is, modelling the physics of a supernova is so very far from what these systems are intended to do. You may be able to start [url="http://www.opensourcephysics.org/"]here[/url] but frankly if you aren't a nuclear physicist or similar, your going to have one hell of a time wrapping your head around the mathematics. Hell, I sure as hell wouldn't be able to help you further than pointing you at those resources. Start with the last link, it's probably your best bet.

Share this post


Link to post
Share on other sites
[quote name='Serapth' timestamp='1307374828' post='4820115']
Yes, open source physics engines do exist, the most common is probaly [url="http://www.ode.org/"]ODE[/url], which does in fact implement gravity, but is ultimately a friction based system, the other most common systems are [url="http://developer.nvidia.com/physx"]Physx[/url] and [url="http://www.havok.com/"]Havok[/url], neither of which is open source but I believe both have a 'free' edition.


The problem is, modelling the physics of a supernova is so very far from what these systems are intended to do. You may be able to start [url="http://www.opensourcephysics.org/"]here[/url] but frankly if you aren't a nuclear physicist or similar, your going to have one hell of a time wrapping your head around the mathematics. Hell, I sure as hell wouldn't be able to help you further than pointing you at those resources. Start with the last link, it's probably your best bet.
[/quote]

Yes, this will be difficult project. Thanks for your reply, i will check that link.

Share this post


Link to post
Share on other sites
Be sure to check out the Bullet engine too at [url="http://bulletphysics.org/"]http://bulletphysics.org[/url] , it's completely free and open source

I must say that a very accurate real-time simulation of a supernova explosion is as good as impossible to do, and physics engines like these are not really made for calculations on such a huge scale with such extreme forces and conditions, saying 'this is going to be difficult' is a serious understatement, and I would very much advise you to reconsider your project goal

Share this post


Link to post
Share on other sites
[quote name='Radikalizm' timestamp='1307377226' post='4820136']
Be sure to check out the Bullet engine too at [url="http://bulletphysics.org/"]http://bulletphysics.org[/url] , it's completely free and open source

I must say that a very accurate real-time simulation of a supernova explosion is as good as impossible to do, and physics engines like these are not really made for calculations on such a huge scale with such extreme forces and conditions, saying 'this is going to be difficult' is a serious understatement, and I would very much advise you to reconsider your project goal
[/quote]

Maybe both of you are right. I'm going to change plan to make realistic solar system according to physics containing main sequence star, planets, moons etc...

Thank you for the link.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this