To execute radiation hydrodynamics simulations, the equation of state and opacity are both critical components. Ideally, these elements should originate from the same set of chemical equilibrium abundances, yet this alignment is not always practiced. Optab
is designed to calculate opacity based on the chemical equilibrium abundances provided by the user. It outputs both mean and monochromatic opacities, thus enabling the creation of opacity tables that are consistent with the user's equation of state.
- Line absorption
- Continuum absorption
- Bremsstrahlung
- van Hoof et al. (2014)
- John (1988): H-
- John (1975): H2-
- Photoionization
- Collision-induced absorption (EXPERIMENTAL)
- Bremsstrahlung
- Scattering
- Thomson scattering
- Rayleigh scattering
Shigenobu Hirose (JAMSTEC, shirose@jamstec.go.jp)
Hirose, S., Hauschildt, P., Minoshima, T., Tomida, K., and Sano, T.
- Astronomy and Astrophysics 659, A87 (2022): https://doi.org/10.1051/0004-6361/202141076
- arXiv: https://arxiv.org/abs/2112.05689
-
Build
optab
Executables- Requirements:
- Source directories:
src/
: Contains source codes ofoptab
eos/src/
: Contains source codes for creating HDF5 chemical abundance tablesdatabase/src/
: Contains source codes for generating HDF5 opacity databases
- Build instructions:
Navigate to each source directory and execute make. If necessary, adjust the Makefile to set the paths for Open MPI and HDF5, as well as the Fortran compiler flags. Example Makefile adjustments:OPENMPI = /opt/local HDF5 = /opt/local FFLAGS = -Wall #-fbounds-check
-
Build the
optab
Database
Seedatabase/README.md
. -
Run
optab
Sample
Seesample/README.md
.
EOF