MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Data Types | Modules | Functions/Subroutines | Variables
mod_thermal_conduction.t File Reference

Go to the source code of this file.

Data Types

interface  mod_thermal_conduction::get_var_subr
 
type  mod_thermal_conduction::tc_fluid
 

Modules

module  mod_thermal_conduction
 Thermal conduction for HD and MHD Adaptation of mod_thermal_conduction for the mod_supertimestepping In order to use it set use_mhd_tc=1 (for the mhd impl) or 2 (for the hd impl) in mhd_list (for the mhd module both hd and mhd impl can be used) or use_new_hd_tc in hd_list parameters to true (for the hd module, hd implementation has to be used) The TC is set by calling one tc_init_hd_for_total_energy and tc_init_mhd_for_total_energy might The second argument: ixArray has to be [rho_,e_,mag(1)] for mhd (Be aware that the other components of the mag field are assumed consecutive) and [rho_,e_] for hd additionally when internal energy equation is solved, an additional element of this array is eaux_: the index of the internal energy variable.
 

Functions/Subroutines

subroutine mod_thermal_conduction::tc_init_params (phys_gamma)
 
subroutine, public mod_thermal_conduction::tc_get_mhd_params (fl, read_mhd_params)
 Init TC coeffiecients: MHD case. More...
 
subroutine, public mod_thermal_conduction::tc_get_hd_params (fl, read_hd_params)
 Read tc module parameters from par file: MHD case. More...
 
double precision function, public mod_thermal_conduction::get_tc_dt_mhd (w, ixIL, ixOL, dxD, x, fl)
 Get the explicut timestep for the TC (mhd implementation) More...
 
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 More...
 
subroutine mod_thermal_conduction::set_source_tc_mhd (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)
 
subroutine mod_thermal_conduction::gradientc (q, ixIL, ixOL, idir, gradq)
 Calculate gradient of a scalar q at cell interfaces in direction idir. More...
 
double precision function, public mod_thermal_conduction::get_tc_dt_hd (w, ixIL, ixOL, dxD, x, fl)
 
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)
 

Variables

double precision mod_thermal_conduction::tc_gamma_1
 The adiabatic index. More...