Phlegethon Documentation¶
PHLEGETHON is a fully compressible, Eulerian magnetohydrodynamic (MHD) code designed for multidimensional simulations in stellar astrophysics. The code uses a time-explicit, second-order, finite-volume method optimized to model a wide range of dynamical regimes, from very low-Mach-number turbulent convection in the deep interior of stars to supersonic flows in subsurface convection zones. PHLEGETHON runs on CPUs and uses MPI-based parallelization via domain decomposition.
Contents¶
- Getting Started
- 1. Clone the git repository
- 2.1 System dependencies (Debian-based systems)
- 2.2 System dependencies (MacOS/ Homebrew)
- 2.3 Containerized setup (Docker, optional)
- 3. Python environment
- 4. Download Helmholtz EoS table and JINA REACLIB rates
- 5. Compile the Fortran EoS modules
- 6. Set environment variables
- 7. Choose a build configuration
- 8. Verify setup
- Reading HDF5 output in Python
- Troubleshooting FAQ
- Contributing
- Docker Workflow
- Build and Run
- Compile-Time Flags and Options
- Generate PIG EoS table
- Phlegethon Overview
- phloutput (Python post-processing utilities)
- create_input_library Documentation
- get_rprofs
- get_spectra_plane_parallel
- create_network