Project Overview
This project focuses on simulating accretion disks, which are astrophysical structures formed by material spiraling into a central massive object. These simulations provide insights into the physical processes governing accretion disks.
2D Accretion Disk Simulation
The `acc1.py` script generates a 2D visualization of an accretion disk. It highlights temperature variations and particle dynamics within the disk. Key features include:
- Interactive visualization using Tkinter.
- Temperature-based color gradients for the disk.
- Radially-dependent particle speeds.
3D Accretion Disk Simulation
The `acc3d.py` script provides a 3D visualization of the accretion disk's temperature profile. It uses matplotlib's 3D plotting capabilities to create a surface plot of temperature as a function of mass accretion rate and viscosity. Key features include:
- 3D surface plot of temperature distribution.
- Interactive rotation and zoom for better visualization.
- Color mapping to represent temperature variations.
Simulation Screenshots

