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 eos_bind_tc clears it for every other closure.
double precision sat_fac =1.d0
 R**1.5 of the fully ionised gas, which scales T**1.5 to c**3 in the saturated flux.
logical sat_ne =.false.
 LTE: the saturated flux follows the local electron density, with ne/nH of the fully ionised gas as the reference.
double precision neonh_fi =1.d0
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

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 77 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 87 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 146 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 eos_bind_tc clears it for every other closure.

Definition at line 115 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 139 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 134 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 135 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 138 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 137 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 136 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 140 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 143 of file mod_thermal_conduction.t.

◆ log_t_floor

double precision mod_thermal_conduction::tc_fluid::log_t_floor

Definition at line 145 of file mod_thermal_conduction.t.

◆ neonh_fi

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

Definition at line 123 of file mod_thermal_conduction.t.

◆ nh2rhofactor

double precision mod_thermal_conduction::tc_fluid::nh2rhofactor

Definition at line 144 of file mod_thermal_conduction.t.

◆ sat_fac

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

R**1.5 of the fully ionised gas, which scales T**1.5 to c**3 in the saturated flux.

Definition at line 118 of file mod_thermal_conduction.t.

◆ sat_ne

logical mod_thermal_conduction::tc_fluid::sat_ne =.false.

LTE: the saturated flux follows the local electron density, with ne/nH of the fully ionised gas as the reference.

Definition at line 122 of file mod_thermal_conduction.t.

◆ subtract_equi

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

Definition at line 94 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 97 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 81 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 84 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 108 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 100 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 103 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 91 of file mod_thermal_conduction.t.

◆ tcoff_

integer mod_thermal_conduction::tc_fluid::tcoff_

Index of cut off temperature for TRAC.

Definition at line 89 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 132 of file mod_thermal_conduction.t.


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