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

Go to the source code of this file.

Modules

module  mod_ard_phys
 Module containing the physics routines for advection-reaction-diffusion equations.
 

Functions/Subroutines

subroutine mod_ard_phys::ard_write_info (fh)
 Write this modules parameters to a snapshot. More...
 
subroutine, public mod_ard_phys::ard_phys_init ()
 
subroutine mod_ard_phys::ard_check_params
 
subroutine mod_ard_phys::ard_to_conserved (ixIL, ixOL, w, x)
 
subroutine mod_ard_phys::ard_to_primitive (ixIL, ixOL, w, x)
 
subroutine mod_ard_phys::ard_get_cmax (w, x, ixIL, ixOL, idim, cmax)
 
subroutine mod_ard_phys::ard_get_cbounds (wLC, wRC, wLp, wRp, x, ixIL, ixOL, idim, Hspeed, cmax, cmin)
 
subroutine mod_ard_phys::ard_get_dt (w, ixIL, ixOL, dtnew, dxD, x)
 
subroutine mod_ard_phys::ard_get_flux (wC, w, x, ixIL, ixOL, idim, f)
 
subroutine mod_ard_phys::ard_add_source_geom (qdt, dtfactor, ixIL, ixOL, wCT, w, x)
 
subroutine mod_ard_phys::ard_add_source (qdt, dtfactor, ixIL, ixOL, wCT, wCTprim, w, x, qsourcesplit, active)
 
subroutine mod_ard_phys::ard_laplacian (ixIL, ixOL, var, lpl)
 Compute the Laplacian using a standard second order scheme. For now this method only works in slab geometries. Requires one ghost cell only. More...
 
subroutine mod_ard_phys::put_laplacians_onegrid (ixIL, ixOL, w)
 
subroutine mod_ard_phys::ard_evaluate_implicit (qtC, psa)
 inplace update of psa==>F_im(psa) More...
 
subroutine mod_ard_phys::ard_implicit_update (dtfactor, qdt, qtC, psa, psb)
 Implicit solve of psa=psb+dtfactor*dt*F_im(psa) More...
 

Variables

integer, public, protected mod_ard_phys::u_ = 1
 Indices of the unknowns. More...
 
integer, public, protected mod_ard_phys::v_ = 2
 For 2 or more equations. More...
 
integer, public, protected mod_ard_phys::w_ = 3
 For 3 or more equations. More...
 
logical, public, protected mod_ard_phys::ard_particles = .false.
 Whether particles module is added. More...
 
double precision, public, protected mod_ard_phys::dtreacpar = 0.5d0
 Parameter with which to multiply the reaction timestep restriction. More...
 
character(len=20), public, protected mod_ard_phys::equation_name = "gray-scott"
 Name of the system to be solved. More...
 
double precision, public, protected mod_ard_phys::d1 = 0.05d0
 Diffusion coefficient for first species (u) More...
 
double precision, public, protected mod_ard_phys::d2 = 1.0d0
 Diffusion coefficient for second species (v) (if applicable) More...
 
double precision, public, protected mod_ard_phys::d3 = 1.0d0
 Diffusion coefficient for third species (w) (if applicable) More...
 
integer, public, protected mod_ard_phys::adv_pow = 1
 Power of the unknown in the advection term (1 for linear) More...
 
double precision, dimension(^nd), public, protected mod_ard_phys::a1 = 0.0d0
 Advection coefficients for first species (u) More...
 
double precision, dimension(^nd), public, protected mod_ard_phys::a2 = 0.0d0
 Advection coefficients for second species (v) (if applicable) More...
 
double precision, dimension(^nd), public, protected mod_ard_phys::a3 = 0.0d0
 Advection coefficients for third species (w) (if applicable) More...
 
double precision, public, protected mod_ard_phys::sb_alpha = 0.1305d0
 Parameters for Schnakenberg model. More...
 
double precision, public, protected mod_ard_phys::sb_beta = 0.7695d0
 
double precision, public, protected mod_ard_phys::sb_kappa = 100.0d0
 
double precision, public, protected mod_ard_phys::gs_f = 0.046d0
 Feed rate for Gray-Scott model. More...
 
double precision, public, protected mod_ard_phys::gs_k = 0.063d0
 Kill rate for Gray-Scott model. More...
 
double precision, public, protected mod_ard_phys::br_a = 4.5d0
 Parameters for Brusselator model. More...
 
double precision, public, protected mod_ard_phys::br_b = 8.0d0
 
double precision, public, protected mod_ard_phys::br_c = 1.0d0
 
double precision, public, protected mod_ard_phys::br_d = 1.0d0
 
double precision, public, protected mod_ard_phys::lg_lambda = 1.0d0
 Parameter for logistic model (Fisher / KPP equation) More...
 
double precision, public, protected mod_ard_phys::bzfn_epsilon = 1.0d0
 Parameters for the Field-Noyes model of the Belousov-Zhabotinsky reaction. More...
 
double precision, public, protected mod_ard_phys::bzfn_delta = 1.0d0
 
double precision, public, protected mod_ard_phys::bzfn_lambda = 1.0d0
 
double precision, public, protected mod_ard_phys::bzfn_mu = 1.0d0
 
double precision, public, protected mod_ard_phys::lor_r = 28.0d0
 Parameter for Lorenz system (Rayleigh number) More...
 
double precision, public, protected mod_ard_phys::lor_sigma = 10.0d0
 Parameter for Lorenz system (Prandtl number) More...
 
double precision, public, protected mod_ard_phys::lor_b = 8.0d0 / 3.0d0
 Parameter for Lorenz system (aspect ratio of the convection rolls) More...
 
type(mg_bc_t), dimension(3, mg_num_neighbors), public mod_ard_phys::ard_mg_bc
 Boundary condition information for the multigrid method. More...