MPI-AMRVAC 3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
|
Frozen-field hydrodynamics module. More...
Functions/Subroutines | |
subroutine, public | ffhd_phys_init () |
subroutine, public | ffhd_ei_to_e (ixil, ixol, w, x) |
subroutine, public | ffhd_e_to_ei (ixil, ixol, w, x) |
subroutine, public | ffhd_get_v_idim (w, x, ixil, ixol, idim, v) |
subroutine, public | ffhd_get_csound2 (w, x, ixil, ixol, csound2) |
subroutine, public | ffhd_get_rho (w, x, ixil, ixol, rho) |
Variables | |
logical, public, protected | ffhd_energy = .true. |
Whether an energy equation is used. | |
logical, public, protected | ffhd_thermal_conduction = .false. |
Whether thermal conduction is used. | |
logical, public, protected | ffhd_hyperbolic_thermal_conduction = .false. |
Whether hyperbolic type thermal conduction is used. | |
type(tc_fluid), allocatable, public | tc_fl |
type of fluid for thermal conduction | |
type(te_fluid), allocatable, public | te_fl_ffhd |
type of fluid for thermal emission synthesis | |
logical, public, protected | ffhd_radiative_cooling = .false. |
Whether radiative cooling is added. | |
type(rc_fluid), allocatable, public | rc_fl |
type of fluid for radiative cooling | |
logical, public, protected | ffhd_viscosity = .false. |
Whether viscosity is added. | |
logical, public, protected | ffhd_gravity = .false. |
Whether gravity is added. | |
logical, public, protected | ffhd_trac = .false. |
Whether TRAC method is used. | |
integer, public, protected | ffhd_trac_type =1 |
Which TRAC method is used. | |
double precision, public, protected | ffhd_trac_mask = 0.d0 |
Height of the mask used in the TRAC method. | |
integer, public, protected | ffhd_trac_finegrid =4 |
Distance between two adjacent traced magnetic field lines (in finest cell size) | |
logical, public, protected | ffhd_partial_ionization = .false. |
Whether plasma is partially ionized. | |
integer, public, protected | rho_ |
Index of the density (in the w array) | |
integer, dimension(:), allocatable, public, protected | mom |
Indices of the momentum density. | |
integer, public, protected | e_ |
Index of the energy density (-1 if not present) | |
integer, public, protected | p_ |
Index of the gas pressure (-1 if not present) should equal e_. | |
integer, public, protected | te_ |
Indices of temperature. | |
integer, public, protected | tcoff_ |
Index of the cutoff temperature for the TRAC method. | |
integer, public, protected | tweight_ |
integer, public, protected | q_ |
double precision, public | ffhd_gamma = 5.d0/3.0d0 |
The adiabatic index. | |
double precision, public | ffhd_adiab = 1.0d0 |
The adiabatic constant. | |
double precision, public | hypertc_kappa |
The thermal conductivity kappa in hyperbolic thermal conduction. | |
double precision, public, protected | he_abundance =0.1d0 |
Helium abundance over Hydrogen. | |
double precision, public, protected | h_ion_fr =1d0 |
Ionization fraction of H H_ion_fr = H+/(H+ + H) | |
double precision, public, protected | he_ion_fr =1d0 |
Ionization fraction of He He_ion_fr = (He2+ + He+)/(He2+ + He+ + He) | |
double precision, public, protected | he_ion_fr2 =1d0 |
Ratio of number He2+ / number He+ + He2+ He_ion_fr2 = He2+/(He2+ + He+) | |
double precision, public, protected | rr =1d0 |
logical, public, protected | eq_state_units = .true. |
procedure(sub_convert), pointer, public | ffhd_to_primitive => null() |
procedure(sub_convert), pointer, public | ffhd_to_conserved => null() |
procedure(sub_get_pthermal), pointer, public | ffhd_get_pthermal => null() |
procedure(sub_get_pthermal), pointer, public | ffhd_get_temperature => null() |
procedure(sub_get_v), pointer, public | ffhd_get_v => null() |
procedure(fun_kin_en), pointer, public | ffhd_kin_en => null() |
Frozen-field hydrodynamics module.
subroutine, public mod_ffhd_phys::ffhd_e_to_ei | ( | integer, intent(in) | ixi, |
integer, intent(in) | l, | ||
integer, intent(in) | ixo, | ||
l, | |||
double precision, dimension(ixi^s, nw), intent(inout) | w, | ||
double precision, dimension(ixi^s, 1:ndim), intent(in) | x | ||
) |
subroutine, public mod_ffhd_phys::ffhd_ei_to_e | ( | integer, intent(in) | ixi, |
integer, intent(in) | l, | ||
integer, intent(in) | ixo, | ||
l, | |||
double precision, dimension(ixi^s, nw), intent(inout) | w, | ||
double precision, dimension(ixi^s, 1:ndim), intent(in) | x | ||
) |
Definition at line 697 of file mod_ffhd_phys.t.
subroutine, public mod_ffhd_phys::ffhd_get_csound2 | ( | double precision, dimension(ixi^s,nw), intent(in) | w, |
double precision, dimension(ixi^s,1:ndim), intent(in) | x, | ||
integer, intent(in) | ixi, | ||
integer, intent(in) | l, | ||
integer, intent(in) | ixo, | ||
l, | |||
double precision, dimension(ixi^s), intent(out) | csound2 | ||
) |
subroutine, public mod_ffhd_phys::ffhd_get_rho | ( | double precision, dimension(ixi^s,1:nw), intent(in) | w, |
double precision, dimension(ixi^s,1:ndim), intent(in) | x, | ||
integer, intent(in) | ixi, | ||
integer, intent(in) | l, | ||
integer, intent(in) | ixo, | ||
l, | |||
double precision, dimension(ixi^s), intent(out) | rho | ||
) |
subroutine, public mod_ffhd_phys::ffhd_get_v_idim | ( | double precision, dimension(ixi^s,nw), intent(in) | w, |
double precision, dimension(ixi^s,1:ndim), intent(in) | x, | ||
integer, intent(in) | ixi, | ||
integer, intent(in) | l, | ||
integer, intent(in) | ixo, | ||
l, | |||
integer, intent(in) | idim, | ||
double precision, dimension(ixi^s), intent(out) | v | ||
) |
subroutine, public mod_ffhd_phys::ffhd_phys_init |
need to check source geom here
Definition at line 182 of file mod_ffhd_phys.t.
integer, public, protected mod_ffhd_phys::e_ |
Index of the energy density (-1 if not present)
Definition at line 61 of file mod_ffhd_phys.t.
logical, public, protected mod_ffhd_phys::eq_state_units = .true. |
Definition at line 104 of file mod_ffhd_phys.t.
double precision, public mod_ffhd_phys::ffhd_adiab = 1.0d0 |
The adiabatic constant.
Definition at line 78 of file mod_ffhd_phys.t.
logical, public, protected mod_ffhd_phys::ffhd_energy = .true. |
Whether an energy equation is used.
Definition at line 17 of file mod_ffhd_phys.t.
double precision, public mod_ffhd_phys::ffhd_gamma = 5.d0/3.0d0 |
The adiabatic index.
Definition at line 75 of file mod_ffhd_phys.t.
procedure(sub_get_pthermal), pointer, public mod_ffhd_phys::ffhd_get_pthermal => null() |
Definition at line 125 of file mod_ffhd_phys.t.
procedure(sub_get_pthermal), pointer, public mod_ffhd_phys::ffhd_get_temperature => null() |
Definition at line 127 of file mod_ffhd_phys.t.
procedure(sub_get_v), pointer, public mod_ffhd_phys::ffhd_get_v => null() |
Definition at line 128 of file mod_ffhd_phys.t.
logical, public, protected mod_ffhd_phys::ffhd_gravity = .false. |
Whether gravity is added.
Definition at line 37 of file mod_ffhd_phys.t.
logical, public, protected mod_ffhd_phys::ffhd_hyperbolic_thermal_conduction = .false. |
Whether hyperbolic type thermal conduction is used.
Definition at line 22 of file mod_ffhd_phys.t.
procedure(fun_kin_en), pointer, public mod_ffhd_phys::ffhd_kin_en => null() |
Definition at line 129 of file mod_ffhd_phys.t.
logical, public, protected mod_ffhd_phys::ffhd_partial_ionization = .false. |
Whether plasma is partially ionized.
Definition at line 52 of file mod_ffhd_phys.t.
logical, public, protected mod_ffhd_phys::ffhd_radiative_cooling = .false. |
Whether radiative cooling is added.
Definition at line 29 of file mod_ffhd_phys.t.
logical, public, protected mod_ffhd_phys::ffhd_thermal_conduction = .false. |
Whether thermal conduction is used.
Definition at line 20 of file mod_ffhd_phys.t.
procedure(sub_convert), pointer, public mod_ffhd_phys::ffhd_to_conserved => null() |
Definition at line 123 of file mod_ffhd_phys.t.
procedure(sub_convert), pointer, public mod_ffhd_phys::ffhd_to_primitive => null() |
Definition at line 122 of file mod_ffhd_phys.t.
logical, public, protected mod_ffhd_phys::ffhd_trac = .false. |
Whether TRAC method is used.
Definition at line 40 of file mod_ffhd_phys.t.
integer, public, protected mod_ffhd_phys::ffhd_trac_finegrid =4 |
Distance between two adjacent traced magnetic field lines (in finest cell size)
Definition at line 49 of file mod_ffhd_phys.t.
double precision, public, protected mod_ffhd_phys::ffhd_trac_mask = 0.d0 |
Height of the mask used in the TRAC method.
Definition at line 46 of file mod_ffhd_phys.t.
integer, public, protected mod_ffhd_phys::ffhd_trac_type =1 |
Which TRAC method is used.
Definition at line 43 of file mod_ffhd_phys.t.
logical, public, protected mod_ffhd_phys::ffhd_viscosity = .false. |
Whether viscosity is added.
Definition at line 34 of file mod_ffhd_phys.t.
double precision, public, protected mod_ffhd_phys::h_ion_fr =1d0 |
Ionization fraction of H H_ion_fr = H+/(H+ + H)
Definition at line 90 of file mod_ffhd_phys.t.
double precision, public, protected mod_ffhd_phys::he_abundance =0.1d0 |
Helium abundance over Hydrogen.
Definition at line 87 of file mod_ffhd_phys.t.
double precision, public, protected mod_ffhd_phys::he_ion_fr =1d0 |
Ionization fraction of He He_ion_fr = (He2+ + He+)/(He2+ + He+ + He)
Definition at line 93 of file mod_ffhd_phys.t.
double precision, public, protected mod_ffhd_phys::he_ion_fr2 =1d0 |
Ratio of number He2+ / number He+ + He2+ He_ion_fr2 = He2+/(He2+ + He+)
Definition at line 96 of file mod_ffhd_phys.t.
double precision, public mod_ffhd_phys::hypertc_kappa |
The thermal conductivity kappa in hyperbolic thermal conduction.
Definition at line 84 of file mod_ffhd_phys.t.
integer, dimension(:), allocatable, public, protected mod_ffhd_phys::mom |
Indices of the momentum density.
Definition at line 58 of file mod_ffhd_phys.t.
integer, public, protected mod_ffhd_phys::p_ |
Index of the gas pressure (-1 if not present) should equal e_.
Definition at line 64 of file mod_ffhd_phys.t.
integer, public, protected mod_ffhd_phys::q_ |
Definition at line 72 of file mod_ffhd_phys.t.
type(rc_fluid), allocatable, public mod_ffhd_phys::rc_fl |
type of fluid for radiative cooling
Definition at line 31 of file mod_ffhd_phys.t.
integer, public, protected mod_ffhd_phys::rho_ |
Index of the density (in the w array)
Definition at line 55 of file mod_ffhd_phys.t.
double precision, public, protected mod_ffhd_phys::rr =1d0 |
Definition at line 100 of file mod_ffhd_phys.t.
type(tc_fluid), allocatable, public mod_ffhd_phys::tc_fl |
type of fluid for thermal conduction
Definition at line 24 of file mod_ffhd_phys.t.
integer, public, protected mod_ffhd_phys::tcoff_ |
Index of the cutoff temperature for the TRAC method.
Definition at line 70 of file mod_ffhd_phys.t.
integer, public, protected mod_ffhd_phys::te_ |
Indices of temperature.
Definition at line 67 of file mod_ffhd_phys.t.
type(te_fluid), allocatable, public mod_ffhd_phys::te_fl_ffhd |
type of fluid for thermal emission synthesis
Definition at line 26 of file mod_ffhd_phys.t.
integer, public, protected mod_ffhd_phys::tweight_ |
Definition at line 71 of file mod_ffhd_phys.t.