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

Variables related to physics and boundary conditions.

Public Attributes

character(1) kequs
 equations solved ("E"=Euler, "N"=Navier-Stokes)
 
character(1) kflow
 type of flow ("E"=external, "I"=internal)
 
real(rtype) gamma
 ratio of specific heat coefficients
 
real(rtype) cpgas
 specific heat coefficient at constant pressure
 
real(rtype) prlam
 laminar Prandtl number
 
real(rtype) renum
 Reynolds number.
 
real(rtype) refvel
 reference velocity (internal flow only; for external flow computed from the far-field boundary)
 
real(rtype) refrho
 reference density (internal flow only; for external flow computed from the far-field boundary)
 
real(rtype) refvisc
 reference dynamic viscosity coefficient (computed from renum, refvel, cref and refrho)
 
real(rtype) machinf
 Mach-number at infinity.
 
real(rtype) alpha
 angle of attack
 
real(rtype) pinf
 static pressure at infinity
 
real(rtype) tinf
 static temperature at infinity
 
real(rtype) rhoinf
 density at infinity
 
real(rtype) uinf
 u-component of velocity vector at infinity
 
real(rtype) vinf
 v-component of velocity vector at infinity
 
real(rtype) qinf
 total velocity (= SQRT(uinf**2+vinf**2))
 
real(rtype) ptinl
 total pressure at inlet
 
real(rtype) ttinl
 total temperature at inlet
 
real(rtype) betainl
 low angle at inlet (with x-axis, positive in the clock-wise direction)
 
real(rtype) betaout
 approximate outlet angle (utilized for the initial guess only)
 
real(rtype) p12rat
 ratio of inlet to outlet static pressure (initial guess only)
 
real(rtype) pout
 static pressure at outlet
 
real(rtype) minject
 mass flow rate [kg/m^2*s]
 
real(rtype) tinject
 injection temperature [K]
 
integer nconv
 number of conservative variables (cv)
 
integer ndepv
 number of dependent variables (dv)
 
real(rtype), dimension(:,:,:),
allocatable 
cv
 conservative variables
More...
 
real(rtype), dimension(:,:,:),
allocatable 
dv
 dependent variables
More...
 

Member Data Documentation

real(rtype), dimension(:,:,:), allocatable modphysics::cv

cv(1,i,j) = density
cv(2,i,j) = density * u
cv(3,i,j) = density * v
cv(4,i,j) = density * E

real(rtype), dimension(:,:,:), allocatable modphysics::dv

dv(1,i,j) = static pressure
dv(2,i,j) = static temperature
dv(3,i,j) = speed of sound
dv(4,i,j) = ratio of specific heats
dv(5,i,j) = specific heat coefficient at constant pressure
dv(6,i,j) = laminar viscosity coefficient (if viscous flow)
dv(7,i,j) = laminar heat conductivity coefficient (if viscous flow)


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