MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
mod_viscosity.t File Reference

Go to the source code of this file.

Modules

module  mod_viscosity
 The module add viscous source terms and check time step.

Functions/Subroutines

subroutine mod_viscosity::vc_params_read (files)
 Read module parameters from a file.
subroutine, public mod_viscosity::viscosity_init (phys_wider_stencil)
 Initialize the module.
subroutine mod_viscosity::viscosity_add_source_cartesian (qdt, ixil, ixol, wct, wp, w, x, energy, qsourcesplit, active)
subroutine mod_viscosity::viscosity_add_source_sphere (qdt, ixil, ixol, wct, wp, w, x, energy, qsourcesplit, active)
subroutine mod_viscosity::viscosity_add_source_cylinder (qdt, ixil, ixol, wct, wp, w, x, energy, qsourcesplit, active)
subroutine, public mod_viscosity::viscosity_get_dt (wprim, ixil, ixol, dtnew, dxd, x)
subroutine mod_viscosity::sub_add_source (qdt, ixil, ixol, wct, wp, w, x, energy, qsourcesplit, active)

Variables

double precision, public mod_viscosity::vc_mu = 1.d0
 Viscosity coefficient.
integer, public, protected mod_viscosity::v1_
 Indices of the velocity for the form of better vectorization.
integer, public, protected mod_viscosity::v2_
integer, public, protected mod_viscosity::v3_
logical mod_viscosity::vc_split = .false.
 source split or not
procedure(sub_add_source), pointer, public mod_viscosity::viscosity_add_source => null()