MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
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 mod_dust::dust_read_params (files)
 Read dust_list module parameters from a file. More...
 
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)
 
double precision function, dimension(ixo^s) mod_dust::get_vdust (w, ixIL, ixOL, idim, n)
 
double precision function, dimension(ixo^s) mod_dust::get_vdust_prim (w, ixIL, ixOL, idim, n)
 
subroutine, public mod_dust::set_dusttozero (ixIL, ixOL, w, x)
 
subroutine mod_dust::get_3d_dragforce (ixIL, ixOL, w, x, fdrag, ptherm, vgas)
 
subroutine mod_dust::get_sticking (w, x, ixIL, ixOL, alpha_T, ptherm)
 Get sticking coefficient alpha_T (always between 0 and 1) More...
 
subroutine mod_dust::get_tdust (w, x, ixIL, ixOL, Td)
 Returns dust temperature (in K), either as constant or based on equ. 5.41, 5.42 and 5.44 from Tielens (2005) More...
 
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 More...
 
subroutine, public mod_dust::dust_evaluate_implicit (qtC, psa)
 inplace update of psa==>F_im(psa) More...
 
subroutine mod_dust::dust_terms (ixIL, ixOL, w, x)
 
subroutine, public mod_dust::dust_implicit_update (dtfactor, qdt, qtC, psb, psa)
 Implicit solve of psb=psa+dtfactor*dt*F_im(psb) More...
 
subroutine mod_dust::dust_advance_implicit_grid (ixIL, ixOL, w, wout, x, dtfactor, qdt)
 
subroutine mod_dust::get_alpha_dust (ixIL, ixOL, w, vgas, x, alpha)
 
subroutine, public mod_dust::dust_get_dt (w, ixIL, ixOL, dtnew, dxD, x)
 Get dt related to dust and gas stopping time (Laibe 2011) More...
 
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. More...
 
double precision, dimension(:), allocatable, public mod_dust::dust_size
 Size of each dust species, dimensionless expression. More...
 
double precision, dimension(:), allocatable, public mod_dust::dust_density
 Internal density of each dust species, dimensionless expression. More...
 
integer, public, protected mod_dust::dust_n_species = 0
 The number of dust species. More...
 
integer, dimension(:), allocatable, public, protected mod_dust::dust_rho
 Indices of the dust densities. More...
 
integer, dimension(:, :), allocatable, public, protected mod_dust::dust_mom
 Indices of the dust momentum densities. More...
 
logical, public, protected mod_dust::dust_small_to_zero = .false.
 Set small dust densities to zero to avoid numerical problems. More...
 
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'. More...