Computational Physics Simulations

Summary
Advice on programing languages for computational physics
I am currently learning python and c++ and interested in the near distant future on exploring some computational physics simulations. But have seem to hit a road block. I have just finished my undergrad in physics and have some time to explore physics concepts that were never really cleared up during my undergrad. My issue is what language is best for simulations.

The areas in which I am most interested in exploring is Fluid mechanics specially flow of fluids around objects and vector fields and in generally learning more about stokes law and other aspects of fluid mechanics through simulations.

My other interests are Lagrange and Hamiltonian mechanics and eventually moving into quantum mechanics.

From what I have read from the internet, python is slightly more efficient for numerical computations tho there are modules that will allow for 3d simulations in python, C++ seem to be preferred.

Looking more into 3d simulations and building fluid models C++ seem to be best but there a lot of stuff that I cant seem to follow, as there 2D and 3D engines, parallel computing, different graphics libraries and I cant seem to get a handle where to start?


Could anyone lend some advice on how someone new to computational physics simulations, how to go about learning a building these simulations.
Is python worth exploring for 3D simulations or is C++ way to go and maybe could some please explain what parallel computing is in laymends terms beacuse my internet search on this seem to give differnt examples which confuse me, and what is the benfits to parallel computing.
 
10,686
4,243
Well there's a book by Gould, Tobochnik and Christian called An Introduction to Computer Simulation Methods.

The examples are in Java and the they provide the source code for them at:

www.compadre.org/osp
 

Want to reply to this thread?

"Computational Physics Simulations" You must log in or register to reply here.

Related Threads for: Computational Physics Simulations

Replies
2
Views
3K
Replies
2
Views
1K
  • Posted
Replies
5
Views
5K
  • Posted
Replies
2
Views
2K
  • Posted
Replies
3
Views
328

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top