|
| subroutine | mod_thermal_conduction::tc_init_params (phys_gamma) |
| subroutine, public | mod_thermal_conduction::tc_get_mhd_params (fl, read_mhd_params) |
| | Init TC coefficients: MHD case.
|
| subroutine, public | mod_thermal_conduction::tc_get_hd_params (fl, read_hd_params) |
| | Init TC coefficients: HD case.
|
| double precision function, public | mod_thermal_conduction::get_tc_dt_mhd (w, ixil, ixol, dxd, x, fl) |
| | Get the explicit timestep for the TC (mhd implementation) Note: for multi-D MHD (1D MHD will use HD fall-back).
|
| subroutine, public | mod_thermal_conduction::sts_set_source_tc_mhd (ixil, ixol, w, x, wres, fix_conserve_at_step, my_dt, igrid, nflux, fl) |
| | anisotropic thermal conduction with slope limited symmetric scheme Sharma 2007 Journal of Computational Physics 227, 123
|
| subroutine | mod_thermal_conduction::set_source_tc_mhd (ixil, ixol, w, x, fl, qvec, rho, te, alpha) |
| subroutine | mod_thermal_conduction::set_source_tc_mhd_geo (ixil, ixol, w, x, fl, qvec, rho, te, alpha) |
| double precision function, dimension(ixi^s) | mod_thermal_conduction::slope_limiter (f, ixil, ixol, idims, pm, tc_slope_limiter) |
| double precision function, public | mod_thermal_conduction::get_tc_dt_hd (w, ixil, ixol, dxd, x, fl) |
| | Get the explicit timestep for the TC (hd implementation) Note: also used in 1D MHD (or for neutrals in twofl).
|
| subroutine | mod_thermal_conduction::tc_sat_rho (ixil, w, x, fl, rho, rhos) |
| | rho in the saturated flux: under LTE scaled by the local over the fully ionised ne/nH
|
| subroutine | mod_thermal_conduction::tc_get_te (ixil, w, x, fl, igrid, te) |
| | Te over the block (+ghosts): the frozen-ionisation map within a conduction step with frozen_ion, else the full EoS with the optional negative-eint repair.
|
| subroutine | mod_thermal_conduction::tc_frozen_anchor (ixil, w, x, fl, igrid) |
| | Anchor of the frozen-ionisation conduction step for block igrid, on the step-start state (internal energy in w(:,e_)): T from the full EoS, the energy, and the inverse frozen-composition heat capacity with R from the cached ionisation. Within the step T = T0 + (e - e0)/(R rho/(gamma-1)), exact where the gas is fully ionised or neutral.
|
| subroutine | mod_thermal_conduction::tc_flux_hd (ixil, ixol, w, x, fl, qvec, rho, te) |
| | Face fluxes for the HD STS source, uniform or general geometry.
|
| subroutine | mod_thermal_conduction::tc_flux_mhd (ixil, ixol, w, x, fl, qvec, rho, te, alpha) |
| | Face fluxes for the MHD STS source, uniform or general geometry.
|
| subroutine, public | mod_thermal_conduction::sts_set_source_tc_hd (ixil, ixol, w, x, wres, fix_conserve_at_step, my_dt, igrid, nflux, fl) |
| subroutine | mod_thermal_conduction::set_source_tc_hd (ixil, ixol, w, x, fl, qvec, rho, te) |
| subroutine | mod_thermal_conduction::set_source_tc_hd_geo (ixil, ixol, w, x, fl, qvec, rho, te) |
| subroutine, public | mod_thermal_conduction::tc_patch_negative_eint (w, x, ixil, ixol, te, ie, fl) |
| | Patch cells where e_int <= 0 by neighbor-averaging the temperature AND repairing the conserved internal energy w(:, ie) in place. Called after get_temperature_from_eint in the TC source routines when tc_patch_eint is .true. During STS RKL2 Chebyshev substeps the polynomial can overshoot e_int to negative values at low-density coronal cells. A negative T would produce NaN via sqrt(T) in the Spitzer conductivity. This routine replaces those cells' T with the average of valid (e_int > 0) neighbors and writes the matching e_int back to w(ix, ie) via the EoS inverse helper eint_nH_from_T, so the next STS substep does not re-read negative w and amplify it.
|