MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Loading...
Searching...
No Matches
Modules | Functions/Subroutines | Variables
mod_opal_opacity.t File Reference

Go to the source code of this file.

Modules

module  mod_opal_opacity
 This module reads in Rosseland-mean opacities from OPAL tables. Table opacity values are given in base 10 logarithm and are a function of mass density (R) and temperature (T), which are also both given in base 10 logarithm.
 

Functions/Subroutines

subroutine, public mod_opal_opacity::init_opal_table (tabledir, set_custom_tabledir)
 This subroutine is called when the FLD radiation module is initialised. The OPAL tables for different helium abundances are read and interpolated.
 
subroutine, public mod_opal_opacity::set_opal_opacity (rho, temp, kappa)
 This subroutine calculates the opacity for a given temperature-density structure. Opacities are read from a table with given metalicity.
 

Variables

double precision, dimension(itmin:itmax, irmin:irmax), public mod_opal_opacity::kappa_vals
 The opacity tables are read once and stored globally in Kappa_vals.
 
double precision, dimension(irmin:irmax), public mod_opal_opacity::logr_list
 
double precision, dimension(itmin:itmax), public mod_opal_opacity::logt_list