initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / utilities / mesh / conversion / kivaToFoam / README
blobaf4d0009242a923ea854997d1860265aacfd20c7
1 Kiva cell/vertex connectivity arrays.
3 c +++ kiva-3 notation: i4 refers both to vertex #4 and the cell shown:
4 c +++
5 c +++
6 c +++                         7/--------/|6
7 c +++                         /        / |
8 c +++                        / |      /  |
9 c +++                       /        /   |
10 c +++                     8/--------/5   |
11 c +++                      |   |    |    |
12 c +++                      |        |    |
13 c +++                      |  3|-  -| -  |2
14 c +++                      |   /    |   /
15 c +++                      |        |  /
16 c +++                      | /      | /
17 c +++                      |        |/
18 c +++                     4----------1
19 c +++                                     top=i8tab(i4)
20 c +++                                          |
21 c +++                                          |   derriere=i3tab(i4)
22 c +++                                          |  /
23 c +++                                          | /
24 c +++                                          |/
25 c +++                  left=imtab(i4)--------<i4>-----right=i1tab(i4)
26 c +++                                         /|
27 c +++                                        / |
28 c +++                                       /  |
29 c +++                        front=jmtab(i4)   |
30 c +++                                          |
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:
39 i1tab(i)
40 i3tab(i1tab(i))
41 i3tab(i)
42 i8tab(i)
43 i1tab(i8tab(i))
44 i3tab(i1tab(i8tab(i)))
45 i3tab(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.
56 The bc values are:
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
63 7.0  - inflow  - inflow
64 8.0  - outflow - outflow
65 9.0  - presin  - pressure inflow
66 10.0 - presout - pressure outflow
68 c ======================================================================
70 fv - flag for vertices
72 The values are:
74 0.0 - inactive vertex
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 ======================================================================
84 f - flag for cells
86 The values are:
88 0.0 - inactive (ghost) cell
89 1.0 - active cell
91 c ======================================================================
93 idface - vertex flag for moving surface
95 The values are:
97 -1 - Not on a moving surface
98  0 - Piston top
99  1..6 - Valve nr.
101 c ======================================================================
103 idreg - cell region number.
105 c ======================================================================
107 The first non-ghost cell will be '