← Gallery
Simathon 01Black HoleHas videoHas code

AREPO Blackhole Simulation

Bhoumik

A blackhole simulation that you have never experienced before featuring some really interesting facts about blackhole and some really famous blackhole's simulation.

Still from AREPO Blackhole Simulation

What it does

AREPO is a high-performance, GPU-accelerated astrophysics simulator that models and visualizes Kerr black hole magnetohydrodynamic (MHD) accretion disks. Built using Python 3.12 and Taichi 1.7.4 (CUDA backend), it runs interactive, real-time simulations of thousands of particles orbiting under extreme relativistic conditions.

Key Features: Relativistic Physics Engine: Simulates particle dynamics under Paczynski-Wiita gravity, Lense-Thirring frame dragging, Shakura-Sunyaev alpha-viscosity, and magnetic pressure gradient forces, with a stochastic proxy for magnetorotational instability (MRI) turbulence. Unified Raytracer: Implements volumetric JIT-compiled raymarching to capture gravitational lensing (light-bending), Doppler beaming, gravitational redshift, and ergosphere/relativistic jet glow. Holographic Glass UI: Features an overlay control panel rendering real-time telemetry, visual analysis modes (density, velocity, temperature, B-field magnitude, plasma-beta, camera controls, physics parameter tuning, and a holographic discovery fact card. Performance Optimized: Uses NumPy-based bulk transfers to eliminate host-device communication latency, enabling smooth JIT compilation and frame rates.