C++ Binary Star and Black Hole Simulation Program

  • Context: C/C++ 
  • Thread starter Thread starter Benzoate
  • Start date Start date
Click For Summary
SUMMARY

A C++ program can effectively model the movements of a binary star system around a black hole, leveraging established equations of celestial mechanics. The discussion emphasizes that while C++ is suitable for this task, other languages such as Fortran, Java, and Matlab are also commonly used in scientific computing. The key to successful implementation lies in obtaining the correct equations governing the dynamics of celestial bodies.

PREREQUISITES
  • Understanding of celestial mechanics equations
  • Proficiency in C++ programming
  • Familiarity with scientific computing concepts
  • Knowledge of numerical methods for simulations
NEXT STEPS
  • Research celestial mechanics equations relevant to binary star systems
  • Explore C++ libraries for scientific computing, such as Eigen or Boost
  • Learn about numerical integration techniques for simulating orbits
  • Investigate existing simulations in Fortran or Matlab for comparative analysis
USEFUL FOR

Astronomy enthusiasts, astrophysicists, and software developers interested in scientific simulations will benefit from this discussion.

Benzoate
Messages
418
Reaction score
0
Could you write a C++ program modeling the movements of a binary star around a black hole?
 
Technology news on Phys.org
i.e you want someone else to do the work for you?
 
malawi_glenn said:
i.e you want someone else to do the work for you?

no. I want to create a program myself. I only want to know if it is possible to create a C++ program that models the behavior of stars and other object in the universe
 
Well if i got the equations, I could easily do it. Works with Java, Fortran, Matlab etc. aswell.

C++ and Fortran are perhaps the most used programming languages in scientific computing and modelling.
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
13
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 13 ·
Replies
13
Views
718
  • · Replies 8 ·
Replies
8
Views
6K
Replies
69
Views
10K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K