MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
mod_thermal_conduction::tc_fluid Type Reference

Public Attributes

double precision tc_k_para
 Coefficient of thermal conductivity (parallel to magnetic field).
double precision tc_k_perp
 Coefficient of thermal conductivity perpendicular to magnetic field.
integer e_ =-1
 Indices of the variables.
integer tcoff_
 Index of cut off temperature for TRAC.
integer tc_slope_limiter
 Name of slope limiter for transverse component of thermal flux.
logical subtract_equi =.false.
logical tc_constant =.false.
 Logical switch for test constant conductivity.
logical tc_perpendicular =.false.
 Calculate thermal conduction perpendicular to magnetic field (.true.) or not (.false.).
logical tc_saturate =.false.
 Consider thermal conduction saturation effect (.true.) or not (.false.).
logical tc_patch_eint =.false.
 Patch cells where e_int < 0 during STS Chebyshev substeps by neighbor-averaging the temperature. Prevents NaN from sqrt(T<0) in the Spitzer conductivity when the RKL2 polynomial overshoots.
logical frozen_ion =.false.
 LTE with ionisation energy: hold the ionisation state fixed through each conduction step. T comes from the full EoS and R = p/(rho T) from the cached ionisation at the first STS stage; the later stages map the internal energy to T with the frozen-composition heat capacity. The physics modules set it from tc_frozen_ion, default true, and their EoS binding clears it for every other closure.
double precision tc_sat_coef =-1.d0
 phi in the saturated flux 5 phi rho c**3 (Cowie & McKee 1977 eq 8), tc_sat_coef in tc_list. Negative means unset: phi = 0.3 for FI/PI, Cowie & McKee eq 7 with the local ne for LTE
double precision sat_fac
 Saturated flux per face, sat_fac (rhos_A+rhos_B) T**1.5, set only by tc_set_saturation.
double precision trac_t_floor =0.d0
 Minimum temperature (code units) below which TRAC does not modify conductivity. Below this T, the energy balance is dominated by optically thick radiation and recombination, not optically thin cooling + Spitzer conduction, so TRAC's broadening assumption does not apply. Read in Kelvin via tc_list (trac_T_floor), converted to code units at init. Default 0 (no floor). Only the HD TRAC cutoff (types 0 and 7) reads it, with Tcoff = Te below it, so conduction, losses and heating are left unmodified there.
double precision inv_gamma_minus_1
 EoS snapshots + inverse accessor (set in bind_eos_to_source); let TC reach thermodynamics only through this object, never mod_eos directly.
double precision nh2rhofactor
double precision log_t_floor
double precision neonh_fi =1.d0
 Fully ionised electrons and particles per H nucleus, and the mass per H nucleus in m_p. The defaults are pure hydrogen, for fluids not bound to an EoS (twofl).
double precision n_per_nh_fi =2.d0
double precision mass_per_nh =1.d0
logical eos_lte =.false.
 LTE closure: code T is kT/m_p (R not absorbed in the units) and ne/nH is the local value.

Static Public Attributes

procedure(get_var_subr), pointer, nopass get_rho => null()
procedure(get_var_subr), pointer, nopass get_rho_equi => null()
procedure(get_var_subr), pointer, nopass get_temperature_from_eint => null()
procedure(get_var_subr), pointer, nopass get_temperature_from_conserved => null()
procedure(get_var_subr), pointer, nopass get_temperature_equi => null()
procedure(get_2var_subr), pointer, nopass get_ne_nh => null()
procedure(get_var_subr), pointer, nopass get_var_rfactor => null()
procedure(eos_scalar2_func), pointer, nopass eint_from_t => null()

Detailed Description

Definition at line 79 of file mod_thermal_conduction.t.

Member Data Documentation

◆ e_

integer mod_thermal_conduction::tc_fluid::e_ =-1

Indices of the variables.

Definition at line 89 of file mod_thermal_conduction.t.

◆ eint_from_t

procedure(eos_scalar2_func), pointer, nopass mod_thermal_conduction::tc_fluid::eint_from_t => null()
static

Definition at line 147 of file mod_thermal_conduction.t.

◆ eos_lte

logical mod_thermal_conduction::tc_fluid::eos_lte =.false.

LTE closure: code T is kT/m_p (R not absorbed in the units) and ne/nH is the local value.

Definition at line 152 of file mod_thermal_conduction.t.

◆ frozen_ion

logical mod_thermal_conduction::tc_fluid::frozen_ion =.false.

LTE with ionisation energy: hold the ionisation state fixed through each conduction step. T comes from the full EoS and R = p/(rho T) from the cached ionisation at the first STS stage; the later stages map the internal energy to T with the frozen-composition heat capacity. The physics modules set it from tc_frozen_ion, default true, and their EoS binding clears it for every other closure.

Definition at line 117 of file mod_thermal_conduction.t.

◆ get_ne_nh

procedure(get_2var_subr), pointer, nopass mod_thermal_conduction::tc_fluid::get_ne_nh => null()
static

Definition at line 140 of file mod_thermal_conduction.t.

◆ get_rho

procedure (get_var_subr), pointer, nopass mod_thermal_conduction::tc_fluid::get_rho => null()
static

Definition at line 135 of file mod_thermal_conduction.t.

◆ get_rho_equi

procedure (get_var_subr), pointer, nopass mod_thermal_conduction::tc_fluid::get_rho_equi => null()
static

Definition at line 136 of file mod_thermal_conduction.t.

◆ get_temperature_equi

procedure(get_var_subr), pointer, nopass mod_thermal_conduction::tc_fluid::get_temperature_equi => null()
static

Definition at line 139 of file mod_thermal_conduction.t.

◆ get_temperature_from_conserved

procedure(get_var_subr), pointer, nopass mod_thermal_conduction::tc_fluid::get_temperature_from_conserved => null()
static

Definition at line 138 of file mod_thermal_conduction.t.

◆ get_temperature_from_eint

procedure(get_var_subr), pointer, nopass mod_thermal_conduction::tc_fluid::get_temperature_from_eint => null()
static

Definition at line 137 of file mod_thermal_conduction.t.

◆ get_var_rfactor

procedure(get_var_subr), pointer, nopass mod_thermal_conduction::tc_fluid::get_var_rfactor => null()
static

Definition at line 141 of file mod_thermal_conduction.t.

◆ inv_gamma_minus_1

double precision mod_thermal_conduction::tc_fluid::inv_gamma_minus_1

EoS snapshots + inverse accessor (set in bind_eos_to_source); let TC reach thermodynamics only through this object, never mod_eos directly.

Definition at line 144 of file mod_thermal_conduction.t.

◆ log_t_floor

double precision mod_thermal_conduction::tc_fluid::log_t_floor

Definition at line 146 of file mod_thermal_conduction.t.

◆ mass_per_nh

double precision mod_thermal_conduction::tc_fluid::mass_per_nh =1.d0

Definition at line 150 of file mod_thermal_conduction.t.

◆ n_per_nh_fi

double precision mod_thermal_conduction::tc_fluid::n_per_nh_fi =2.d0

Definition at line 150 of file mod_thermal_conduction.t.

◆ neonh_fi

double precision mod_thermal_conduction::tc_fluid::neonh_fi =1.d0

Fully ionised electrons and particles per H nucleus, and the mass per H nucleus in m_p. The defaults are pure hydrogen, for fluids not bound to an EoS (twofl).

Definition at line 150 of file mod_thermal_conduction.t.

◆ nh2rhofactor

double precision mod_thermal_conduction::tc_fluid::nh2rhofactor

Definition at line 145 of file mod_thermal_conduction.t.

◆ sat_fac

double precision mod_thermal_conduction::tc_fluid::sat_fac

Saturated flux per face, sat_fac (rhos_A+rhos_B) T**1.5, set only by tc_set_saturation.

Definition at line 124 of file mod_thermal_conduction.t.

◆ subtract_equi

logical mod_thermal_conduction::tc_fluid::subtract_equi =.false.

Definition at line 96 of file mod_thermal_conduction.t.

◆ tc_constant

logical mod_thermal_conduction::tc_fluid::tc_constant =.false.

Logical switch for test constant conductivity.

Definition at line 99 of file mod_thermal_conduction.t.

◆ tc_k_para

double precision mod_thermal_conduction::tc_fluid::tc_k_para

Coefficient of thermal conductivity (parallel to magnetic field).

Definition at line 83 of file mod_thermal_conduction.t.

◆ tc_k_perp

double precision mod_thermal_conduction::tc_fluid::tc_k_perp

Coefficient of thermal conductivity perpendicular to magnetic field.

Definition at line 86 of file mod_thermal_conduction.t.

◆ tc_patch_eint

logical mod_thermal_conduction::tc_fluid::tc_patch_eint =.false.

Patch cells where e_int < 0 during STS Chebyshev substeps by neighbor-averaging the temperature. Prevents NaN from sqrt(T<0) in the Spitzer conductivity when the RKL2 polynomial overshoots.

Definition at line 110 of file mod_thermal_conduction.t.

◆ tc_perpendicular

logical mod_thermal_conduction::tc_fluid::tc_perpendicular =.false.

Calculate thermal conduction perpendicular to magnetic field (.true.) or not (.false.).

Definition at line 102 of file mod_thermal_conduction.t.

◆ tc_sat_coef

double precision mod_thermal_conduction::tc_fluid::tc_sat_coef =-1.d0

phi in the saturated flux 5 phi rho c**3 (Cowie & McKee 1977 eq 8), tc_sat_coef in tc_list. Negative means unset: phi = 0.3 for FI/PI, Cowie & McKee eq 7 with the local ne for LTE

Definition at line 121 of file mod_thermal_conduction.t.

◆ tc_saturate

logical mod_thermal_conduction::tc_fluid::tc_saturate =.false.

Consider thermal conduction saturation effect (.true.) or not (.false.).

Definition at line 105 of file mod_thermal_conduction.t.

◆ tc_slope_limiter

integer mod_thermal_conduction::tc_fluid::tc_slope_limiter

Name of slope limiter for transverse component of thermal flux.

Definition at line 93 of file mod_thermal_conduction.t.

◆ tcoff_

integer mod_thermal_conduction::tc_fluid::tcoff_

Index of cut off temperature for TRAC.

Definition at line 91 of file mod_thermal_conduction.t.

◆ trac_t_floor

double precision mod_thermal_conduction::tc_fluid::trac_t_floor =0.d0

Minimum temperature (code units) below which TRAC does not modify conductivity. Below this T, the energy balance is dominated by optically thick radiation and recombination, not optically thin cooling + Spitzer conduction, so TRAC's broadening assumption does not apply. Read in Kelvin via tc_list (trac_T_floor), converted to code units at init. Default 0 (no floor). Only the HD TRAC cutoff (types 0 and 7) reads it, with Tcoff = Te below it, so conduction, losses and heating are left unmodified there.

Definition at line 133 of file mod_thermal_conduction.t.


The documentation for this type was generated from the following file: