|
Unstruct2D
1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Unstructured Grids
|
Variables related to grid geometry and topology.
Public Attributes | |
| integer | nnodes |
| number of grid nodes (including dummy nodes) More... | |
| integer | nndint |
| number of physical grid nodes (nnodes - dummy nodes) | |
| integer | ntria |
| number of triangles | |
| integer | nsegs |
| number of boundary segments (composed of boundary faces) | |
| integer | nbfaces |
| number of all boundary faces | |
| integer | nbnodes |
| total number of boundary nodes | |
|
character(chrlen), dimension(:), allocatable | bname |
| names of boundary segments (used for plots) | |
| integer, dimension(:), allocatable | btype |
| types of boundary conditions: 100-199 = inflow 200-299 = outflow 300-399 = viscous wall 400-499 = inviscid wall 500-599 = symmetry line 600-699 = far-field 700-799 = periodic boundary | |
|
integer, dimension(:,:), allocatable | bface |
| indexes of two nodes defining a face (NOT used for periodic boundaries!) | |
| integer, dimension(:,:), allocatable | bnode |
| data related to boundary nodes More... | |
| integer, dimension(:,:), allocatable | ibound |
| pointer from boundary segment to boundary faces and nodes 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 | |
|
integer, dimension(:,:), allocatable | tria |
| node indexes of triangle elements | |
|
real(rtype), dimension(:), allocatable | x |
| x-coordinates of grid points | |
|
real(rtype), dimension(:), allocatable | y |
| y-coordinates of grid points | |
| real(rtype), dimension(:,:), allocatable | sij |
| x,y-components of the face vector (n*dS) More... | |
|
real(rtype), dimension(:), allocatable | vol |
| median-dual control volume (shaded area in Fig. 5.8) | |
|
real(rtype), dimension(:,:), allocatable | sbf |
| normal vector of boundary face (outward pointing, size equal to the edge length); defined for all boundaries except for periodic ones | |
|
real(rtype), dimension(:,:), allocatable | sproj |
| projections of control volumes on the x- and y-axis (used to compute the time step - see Eq. (6.22)) | |
| integer, dimension(:,:), allocatable modgeometry::bnode |
Meaning of the entries:
| integer, dimension(:,:), allocatable modgeometry::ibound |
| integer modgeometry::nnodes |
Dummy nodes are defined for inlet, outlet and far-field boundaries only. The variables cv(), dv(), x(), y(), edge() and sij() are divided into two parts. The first part is related to the physical grid (dimensions nndint, nedint). The second part refers to the dummy nodes. This approach makes it easier to loop either only over the physical grid nodes (edges), or over all nodes (edges) using the same vector.
| real(rtype), dimension(:,:), allocatable modgeometry::sij |
For ie > nedint, sij(*,ie) represents the average face vector at a boundary node (face between boundary and dummy node); sij() always points from node i to node j (see Fig. 5.9).