Skip to content

Simulating CBCs with a focus on GW emission during the inspiral phase using classical mechanics

License

Notifications You must be signed in to change notification settings

WDoyle123/CBC-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CBC-Simulation

Introduction

CBC-Simulation attempts to simulate a compact binary coalescence. The methodology uses classical mechanics to simulate the inspiral part of the inspiral-merger-ringdown nature of a CBC.

The current state of this project is just the inspiral. Future work will include attempting to use relativity to model the merger and ringdown sections.

Demos

In order for a compact binary to coalesce, gravitational wave emission allows the system to lose energy and a merger to proceed. In this demo we can see the result of null energy loss for each compact object, thus not resulting in a merger.

Example 1:

simulation.gif

If we cause the compact objects to lose kinetic energy through the emission of gravitational waves our demo becomes:

simulation.gif

Example 2 Parallel:

simulation.gif

Again, if we apply the physics of gravitational wave emission we can see the inspiral of the merging compact objects:

simulation.gif

Example 3 Spiral:

Setting the compact objects to be in orbit around the centre of mass in the system allows for a greater amount of spirals compared to other tests. This figure shows the merger of two objects that spiral in towards each other due to the emission of gravitational waves.

simulation.gif

Technical Features

  • Multiprocessing: The multiprocessing module is utilised to improve performance and efficiency, especially in generating animation frames. By dividing the work among multiple CPU cores, the rendering process is significantly accelerated.

  • 3D Visualisation: The simulation employs matplotlib for 3D scatter plot animations, offering a dynamic and detailed visualisation of the coalescence process.

  • Energy Loss Simulation: The model incorporates physics principles to simulate energy loss due to gravitational wave emission, essential in replicating the inspiral phase of compact binary coalescence.

  • GPU-Accelerated Video Rendering: For compiling the generated frames into a smooth animation, the script employs FFmpeg with GPU acceleration (specifically for NVIDIA GPUs), ensuring rapid and high-quality video production.

  • Dynamic Simulation Parameters: The script is designed to adjust various parameters like object separation and kinetic energy loss, allowing for diverse simulation scenarios.

  • Efficient Memory Management: To manage system resources effectively, the script saves temporary files to drive storage rather than using all the systems memory. After processing, the temporary files are removed.

License

License

About

Simulating CBCs with a focus on GW emission during the inspiral phase using classical mechanics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages