MPI-AMRVAC 3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
Modules | Functions/Subroutines | Variables
mod_dust.t File Reference

Go to the source code of this file.

Modules

module  mod_dust
 Module for including dust species, which interact with the gas through a drag force.
 

Functions/Subroutines

subroutine, public mod_dust::dust_init (g_rho, g_mom, g_energy)
 
subroutine, public mod_dust::dust_check_params ()
 
subroutine, public mod_dust::dust_check_w (ixil, ixol, w, flag)
 
subroutine, public mod_dust::dust_to_conserved (ixil, ixol, w, x)
 
subroutine, public mod_dust::dust_to_primitive (ixil, ixol, w, x)
 
subroutine, public mod_dust::dust_get_flux (w, x, ixil, ixol, idim, f)
 
subroutine, public mod_dust::dust_get_flux_prim (w, x, ixil, ixol, idim, f)
 
subroutine, public mod_dust::set_dusttozero (ixil, ixol, w, x)
 
subroutine, public mod_dust::dust_add_source (qdt, ixil, ixol, wct, w, x, qsourcesplit, active)
 w[iw]= w[iw]+qdt*S[wCT, x] where S is the source based on wCT within ixO
 
subroutine, public mod_dust::dust_evaluate_implicit (qtc, psa)
 inplace update of psa==>F_im(psa)
 
subroutine, public mod_dust::dust_implicit_update (dtfactor, qdt, qtc, psb, psa)
 Implicit solve of psb=psa+dtfactor*dt*F_im(psb)
 
subroutine, public mod_dust::dust_get_dt (w, ixil, ixol, dtnew, dxd, x)
 Get dt related to dust and gas stopping time (Laibe 2011)
 
subroutine, public mod_dust::dust_get_cmax (w, x, ixil, ixol, idim, cmax, cmin)
 
subroutine, public mod_dust::dust_get_cmax_prim (w, x, ixil, ixol, idim, cmax, cmin)
 

Variables

double precision, public, protected mod_dust::dust_min_rho = -1.0d0
 Minimum dust density as used when dust_small_to_zero=T.
 
double precision, dimension(:), allocatable, public mod_dust::dust_size
 Size of each dust species, dimensionless expression.
 
double precision, dimension(:), allocatable, public mod_dust::dust_density
 Internal density of each dust species, dimensionless expression.
 
integer, public, protected mod_dust::dust_n_species = 0
 The number of dust species.
 
integer, dimension(:), allocatable, public, protected mod_dust::dust_rho
 Indices of the dust densities.
 
integer, dimension(:, :), allocatable, public, protected mod_dust::dust_mom
 Indices of the dust momentum densities.
 
logical, public, protected mod_dust::dust_small_to_zero = .false.
 Set small dust densities to zero to avoid numerical problems.
 
character(len=std_len), public, protected mod_dust::dust_method = 'Kwok'
 What type of dust drag force to use. Can be 'Kwok', 'sticking', 'linear', 'usr' or 'none'.