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

Variables related to grid geometry and topology.

Public Attributes

integer nci
 number of grid cells in i-direction
 
integer ncj
 number of grid cells in j-direction
 
integer imax
 max. dimensions in i-direction (0 <= i <= imax); imax = nci + 3
 
integer jmax
 max. dimensions in j-direction (0 <= j <= jmax); jmax = ncj + 3
 
integer il
 index of the 1st dummy cell in i-direction (right side); il = imax - 1
 
integer jl
 index of the 1st dummy cell in j-direction (top side); jl = jmax - 1
 
integer i2
 index of the last physical cell in i-direction; i2 = imax - 2 (physical cells start at index 2)
 
integer j2
 index of the last physical cell in j-direction; j2 = jmax - 2 (physical cells start at index 2)
 
integer nsegs
 total number of boundary segments
 
integer, dimension(:,:),
allocatable 
lbsegs
 description of boundary segments
More...
 
real(rtype) xref
 x-coordinate of the reference point
 
real(rtype) yref
 y-coordinate of the reference point
 
real(rtype) cref
 reference length or airfoil chord
 
real(rtype), dimension(:,:),
allocatable 
x
 x-coordinates of grid points
 
real(rtype), dimension(:,:),
allocatable 
y
 y-coordinates of grid points
 
real(rtype), dimension(:,:,:),
allocatable 
si
 x,y-components of the face vector (n*dS) in i-direction (see Fig. 12.3)
 
real(rtype), dimension(:,:,:),
allocatable 
sj
 x,y-components of the face vector in j-direction
 
real(rtype), dimension(:,:),
allocatable 
vol
 cell volume (= control volume)
 

Member Data Documentation

integer, dimension(:,:), allocatable modgeometry::lbsegs

Meaning of the entries:

  • (*,1) = boundary type (bctype):
    100-199 = inflow
    200-299 = outflow
    300-399 = viscous wall
    400-499 = inviscid wall
    500-599 = symmetry line
    600-699 = far-field
    700-799 = coordinate cut or periodic boundary
    800-899 = mass injection
  • (*,2) = side of the computational domain (1: j=2, 2: i=i2, 3: j=j2, 4: i=2; see Fig. 12.2)
  • (*,3) = start index of the segment (given as cell index, NOT node index)
  • (*,4) = end index of the segment
  • (*,5) = side of the computational domain where the source (partner) segment is located (if 700 <= bctype <= 799)
  • (*,6) = start index of the source segment
  • (*,7) = end index of the source segment

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