1 Kiva cell/vertex connectivity arrays.
3 c +++ kiva-3 notation: i4 refers both to vertex #4 and the cell shown:
21 c +++ | derriere=i3tab(i4)
25 c +++ left=imtab(i4)--------<i4>-----right=i1tab(i4)
29 c +++ front=jmtab(i4) |
31 c +++ bottom=kmtab(i4)
33 c ======================================================================
35 cell 'i4' is connected to vertex 'i4'.
36 To get the points of cell 'i' is thus done in the following way:
44 i3tab(i1tab(i8tab(i)))
47 Only three of the faces have boundary condition. They are stored in the following arrays
49 bcl - boundary condition left face
50 bcf - boundary condition front face
51 bcb - boundary condition bottom face
53 To get the other boundary conditions, you must get the neighbouring cells
54 and obtain the bc from them.
57 1.0 - moving - moving (piston top)
58 2.0 - solid - solid (wall)
59 3.0 - axis - center axis, line
60 4.0 - fluid - fluid (i.e. no bc)
61 5.0 - periodf - front periodic bc
62 6.0 - periodd - back periodic bc
64 8.0 - outflow - outflow
65 9.0 - presin - pressure inflow
66 10.0 - presout - pressure outflow
68 c ======================================================================
70 fv - flag for vertices
75 1.0 - flfluid - interior (fluid) vertex
76 2.0 - flface - vertex on a moving surface (piston/valve)
77 3.0 - flbowl - vertex within the piston bowl
78 4.0 - flsqsh - vertex in squish region and above piston
79 5.0 - fldome - vertex within head, but not on the surface itself
80 6.0 - flhead - vertex on the head surface
82 c ======================================================================
88 0.0 - inactive (ghost) cell
91 c ======================================================================
93 idface - vertex flag for moving surface
97 -1 - Not on a moving surface
101 c ======================================================================
103 idreg - cell region number.
105 c ======================================================================
107 The first non-ghost cell will be '