Struct2D  1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Structured Grids
 All Classes Files Functions Variables
modnumerics Module Reference

Variables related to the numerics.

Public Attributes

character(1) ktimst
 switch between local (="L") and global (="G") time-stepping
 
character(1) lvort
 far-field vortex correction ("Y"=yes, "N"=no)
 
character(1) kdissip
 central scheme (="C") or Roe's upwind scheme (="R")
 
character(1) kprecond
 low Mach-number preconditioning ("Y"=yes, "N"=no)
 
integer iorder
 order of Roe's upwind scheme (1; 2: kappa=1/3 MUSCL scheme)
 
integer nrk
 number of stages (Runge-Kutta scheme); max. = 5
 
integer iextrapol
 pressure extrapolation to solid walls (2- or 3-point formula)
 
integer, dimension(5) ldiss
 dissipation evaluation per stage (0=no, 1=yes)
 
real(rtype) cfl
 CFL-number.
 
real(rtype) epsirs
 coefficient of implicit residual smoothing
 
real(rtype) vis2
 2nd-order dissipation coefficient (central scheme)
 
real(rtype) vis4
 4th-order dissipation coefficient (central scheme)
 
real(rtype) limfac
 limiter coefficient (Roe's upwind scheme)
 
real(rtype) epsentr
 entropy correction coefficient (Roe's upwind scheme)
 
real(rtype) precoeff
 preconditioning parameter K (low Mach numbers)
 
real(rtype), dimension(5) ark
 stage coefficients
 
real(rtype), dimension(5) betrk
 dissipation-blending coefficients
 
real(rtype) maxwchg
 max. relative change of density and density*E at slip walls
More...
 
real(rtype) maxichg
 max. relative change of density and density*E at injection boundaries
More...
 
real(rtype) volref
 reference volume
More...
 
real(rtype), dimension(4) limref
 reference values of density, u, v and pressure
More...
 
real(rtype), dimension(:,:,:),
allocatable 
cvold
 conservative variables from previous time step
 
real(rtype), dimension(:,:,:),
allocatable 
diss
 artificial dissipation
 
real(rtype), dimension(:,:,:),
allocatable 
rhs
 residual (right-hand side)
 
real(rtype), dimension(:,:),
allocatable 
sri
 spectral radii in i-direction
 
real(rtype), dimension(:,:),
allocatable 
srj
 spectral radii in j-direction
 
real(rtype), dimension(:,:,:),
allocatable 
epsij
 coefficients of implicit residual smoothing (x-, y-direction)
 
real(rtype), dimension(:,:),
allocatable 
tstep
 time steps (without the CFL-number)
 
real(rtype), dimension(:,:,:),
allocatable 
dui
 1st differences of primitive variables
More...
 
real(rtype), dimension(:,:,:),
allocatable 
duj
 1st differences of primitive variables
More...
 
real(rtype), dimension(:,:,:),
allocatable 
gradfi
 gradients of velocity components and temperature
More...
 
real(rtype), dimension(:,:,:),
allocatable 
gradfj
 gradients of velocity components and temperature
More...
 
real(rtype) pi
 3.14...
 
real(rtype) rad
 180./pi
 

Member Data Documentation

real(rtype), dimension(:,:,:), allocatable modnumerics::dui

Values of density, u, v, and pressure in the i-direction at the cell face I-1/2 (higher-order Roe scheme).

real(rtype), dimension(:,:,:), allocatable modnumerics::duj

Values of density, u, v, and pressure in the j-direction at the cell face J-1/2 (higher-order Roe scheme).

real(rtype), dimension(:,:,:), allocatable modnumerics::gradfi

Gradients with respect to the x- and y-coordinates at the cell faces I-1/2 (required for viscous flow).

real(rtype), dimension(:,:,:), allocatable modnumerics::gradfj

Gradients with respect to the x- and y-coordinates at the cell faces J-1/2 (required for viscous flow).

real(rtype), dimension(4) modnumerics::limref

Parameter is required for the computation of limiter functions (higher-order Roe scheme).

real(rtype) modnumerics::maxichg

When the relative change exceeds this value, extrapolation to the dummy cells at injection boundaries is reduced to 0th-order.

real(rtype) modnumerics::maxwchg

When the relative change exceeds this value, extrapolation to the dummy cells at walls is reduced to 0th-order.

real(rtype) modnumerics::volref

Parameter is required for the computation of limiter functions (higher-order Roe scheme).


The documentation for this module was generated from the following file: