Index: | 13 |
Scheme symbol: |
|
C macro: |
|
Status: | required |
The face section has a header with the same format as that for cells, but with a section index of 13. The format is as follows:
(13 (zone-id first-index last-index bc-type face-type))
where:
zone-id = zone ID of the
face section
first-index = index of the
first face in the list
last-index = index of the
last face in the list
bc-type = ID of the boundary
condition represented by the face section
face-type = ID of the type(s)
of face(s) in the section
A zone-id of zero indicates a declaration
section, which provides a count of the total number of faces in the
mesh. Such a section omits the bc-type and
is not followed by a body with further information.
A non-zero zone-id indicates a regular
face section and will be followed by a body containing information
about the grid connectivity. Each line describes one face and appears
as follows:
n0 n1 n2 c0 c1
where n* are the defining nodes (vertices)
of the face, and c* are the adjacent cells.
This is an example of the format for a 3D grid with a triangular
face format. The actual number of nodes depends on the face-type. The order of the cell indices is important
and is determined by the right-hand rule: if you curl the fingers
of your right hand in the order of the nodes, your thumb will point
toward c0.
If the face zone is of mixed type (face-type= 0) or of polygonal type (face-type= 5), each line of the section body will begin with a reference to the number of nodes that make up that particular face, and has the following format:
x n0 n1 ... nf c0 c1
where x = number of nodes (vertices)
of the face and nf is the final node of the
face.
All cells, faces, and nodes have positive indices. If a face
has a cell only on one side, then either c0 or c1 is zero. For files containing only
a boundary mesh, both these values are zero.
bc-type indicates the ID of the boundary
condition represented by the face section. The current valid boundary
condition types are defined in the following table:
| Description |
|---|---|
2 | interior |
3 | wall |
4 | pressure-inlet, inlet-vent, intake-fan |
5 | pressure-outlet, exhaust-fan, outlet-vent |
7 | symmetry |
8 | periodic-shadow |
9 | pressure-far-field |
10 | velocity-inlet |
12 | periodic |
14 | fan, porous-jump, radiator |
20 | mass-flow-inlet |
24 | interface |
31 | parent (hanging node) |
36 | outflow |
37 | axis |
The faces resulting from the intersection of the non-conformal
grids are placed in a separate face zone. A factor of 1000 is added
to the bc-type of these sections; for example,
1003 is a wall zone.
face-type indicates the type of faces
in the zone as defined in the following table:
face-type | description | nodes/face |
|---|---|---|
0 | mixed | |
2 | linear | 2 |
3 | triangular | 3 |
4 | quadrilateral | 4 |
5 | polygonal |
|
where NN will vary, depending on
the specific polygonal face.