ENH: paraFoam : unsetenv FOAM_ABORT so tracebacks do not hang paraview.
[OpenFOAM-1.6.x.git] / etc / cellModels
blobca710a777bf85f736a6ffe22d55b46becfcf860e
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  1.6                                   |
5 |   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
9 // Foam Dictionary.
11 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16 unknown
18     index 0;
19     numberOfPoints 0;
21     faces 0();
23     edges 0();
27 hex
29     index 3;
30     numberOfPoints 8;
32     faces
33     6
34     (
35         4(0 4 7 3)   // x-min
36         4(1 2 6 5)   // x-max
37         4(0 1 5 4)   // y-min
38         4(3 7 6 2)   // y-max
39         4(0 3 2 1)   // z-min
40         4(4 5 6 7)   // z-max
41     );
43     edges
44     12
45     (
46         (0 1)      // x-direction
47         (3 2)
48         (7 6)
49         (4 5)
50         (0 3)      // y-direction
51         (1 2)
52         (5 6)
53         (4 7)
54         (0 4)      // z-direction
55         (1 5)
56         (2 6)
57         (3 7)
58     );
62 wedge
64     index 4;
65     numberOfPoints 7;
67     faces
68     6
69     (
70         3(0 2 1)
71         4(3 4 5 6)
72         3(0 3 6)
73         4(1 2 5 4)
74         4(0 1 4 3)
75         4(0 6 5 2)
76     );
78     edges
79     11
80     (
81         (0 1)
82         (1 2)
83         (0 2)
84         (0 3)
85         (0 6)
86         (2 5)
87         (1 4)
88         (3 4)
89         (3 6)
90         (4 5)
91         (5 6)
92     );
96 prism
98     index 5;
99     numberOfPoints 6;
101     faces
102     5
103     (
104         3(0 2 1)     // Bottom triangle
105         3(3 4 5)     // Top triangle
107         4(0 3 5 2)   // Three side quadrilaterals
108         4(1 2 5 4)
109         4(0 1 4 3)
110     );
112     edges
113     9
114     (
115         (0 2)
116         (0 1)
117         (1 2)
118         (3 5)
119         (4 5)
120         (3 4)
121         (0 3)
122         (1 4)
123         (2 5)
124     );
130     index 6;
131     numberOfPoints 5;
133     faces
134     5
135     (
136         // Base
137         4(0 3 2 1)
139         // Sides
140         3(0 4 3)
141         3(3 4 2)
142         3(1 2 4)
143         3(0 1 4)
144     );
146     edges
147     8
148     (
149         (0 1)
150         (1 2)
151         (2 3)
152         (3 4)
153         (0 4)
154         (1 4)
155         (2 4)
156         (3 4)
157     );
163     index 7;
164     numberOfPoints 4;
166     faces
167     4
168     (
169         3(1 2 3)
170         3(0 3 2)
171         3(0 1 3)
172         3(0 2 1)
173     );
175     edges
176     6
177     (
178         (0 1)
179         (0 2)
180         (0 3)
181         (3 1)
182         (1 2)
183         (3 2)
184     );
188 tetWedge
190     index 9;
191     numberOfPoints 5;
193     faces
194     4
195     (
196         3(0 2 1)
197         3(0 1 3)
198         4(0 3 4 2)
199         4(1 2 4 3)
200     );
202     edges
203     7
204     (
205         (0 1)
206         (1 2)
207         (0 2)
208         (3 4)
209         (0 3)
210         (1 3)
211         (2 4)
212     );
216 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
218 // split-hex. Used for embedded refinement
219 splitHex
221     index 8;
222     numberOfPoints 10;
224     faces
225     7
226     (
227         4(9 3 0 8)   // x-min1
228         4(7 9 8 4)   // x-min2
229         4(5 1 2 6)   // x-max
230         4(4 0 1 5)   // y-min
231         4(2 3 7 6)   // y-max
232         4(3 2 1 0)   // z-min
233         4(7 4 5 6)   // z-max
234     );
236     edges
237     17
238     (
239         (0 1)      // x-direction
240         (3 2)
241         (7 6)
242         (4 5)
243         (0 3)      // y-direction
244         (8 9)
245         (4 7)
246         (5 6)
247         (1 2)
248         (0 4)      // z-direction
249         (0 8)
250         (4 8)
251         (1 5)
252         (2 6)
253         (3 7)
254         (3 9)
255         (7 9)
256     );
260 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
261 // SAMM cell types
262 sammTrim1
264     index 11;
265     numberOfPoints 10;
267     faces
268     7
269     (
270         4(2 3 8 7)        // x-min
271         5(0 1 6 5 4)      // x-max
272         4(2 1 0 3)        // y-min
273         5(7 8 9 5 6)      // y-max
274         4(2 7 6 1)        // z-min
275         5(3 0 4 9 8)      // z-max
276         3(4 5 9)          // cut
277     );
279     edges
280     15
281     (
282         (2 1)            // x-direction
283         (3 0)
284         (8 9)
285         (7 6)
286         (2 7)            // y-direction
287         (3 8)
288         (0 4)
289         (1 6)
290         (2 3)            // z-direction
291         (7 8)
292         (6 5)
293         (1 0)
294         (4 5)            // other
295         (5 9)
296         (10 5)
297     );
301 sammTrim2
303     index 12;
304     numberOfPoints 10;
306     faces
307     7
308     (
309         4(2 3 8 7)        // x-min
310         4(1 6 5 0)        // x-max
311         5(2 1 0 4 3)      // y-min
312         5(7 8 9 5 6)      // y-max
313         4(2 7 6 1)        // z-min
314         4(3 4 9 8)        // z-max
315         4(0 5 9 4)        // other
316     );
318     edges
319     15
320     (
321         (2 1)            // x-direction
322         (3 4)
323         (8 9)
324         (7 6)
325         (2 7)            // y-direction
326         (3 8)
327         (4 9)
328         (0 5)
329         (1 6)
330         (2 3)            // z-direction
331         (7 8)
332         (6 5)
333         (1 0)
334         (9 5)            // other
335         (4 0)
336     );
340 sammTrim3
342     index 13;
343     numberOfPoints 10;
345     faces
346     7
347     (
348         5(2 3 9 8 7)      // x-min
349         4(1 5 4 0)        // x-max
350         4(2 1 0 3)        // y-min
351         3(7 8 6)          // y-max
352         5(2 7 6 5 1)      // z-min
353         4(3 0 4 9)        // z-max
354         5(4 5 6 8 9)      // other
355     );
357     edges
358     15
359     (
360         (2 1)            // x-direction
361         (3 0)
362         (7 6)
363         (2 7)            // y-direction
364         (3 9)
365         (0 4)
366         (1 5)
367         (2 3)            // z-direction
368         (1 0)
369         (8 7)
370         (8 9)            // other
371         (9 4)
372         (4 5)
373         (5 6)
374         (6 8)
375     );
379 sammTrim4
381     index 14;
382     numberOfPoints 10;
384     faces
385     7
386     (
387         5(0 2 6 5 1)      // x-min
388         3(3 9 8)          // x-max
389         5(0 3 8 7 2)      // y-min
390         3(1 5 4)          // y-max
391         5(0 1 4 9 3)      // z-min
392         3(2 7 6)          // z-max
393         6(4 5 6 7 8 9)    // other
394     );
396     edges
397     15
398     (
399         (0 3)            // x-direction
400         (1 4)
401         (2 7)
402         (0 1)            // y-direction
403         (2 6)
404         (3 9)
405         (0 2)            // z-direction
406         (3 8)
407         (1 5)
408         (4 5)            // other
409         (5 6)
410         (6 7)
411         (7 8)
412         (8 9)
413         (9 4)
414     );
418 sammTrim5
420     index 15;
421     numberOfPoints 8;
423     faces
424     6
425     (
426         4(2 3 7 6)        // x-min
427         3(1 5 0)          // x-max
428         5(2 1 0 4 3)      // y-min
429         4(2 6 5 1)        // z-min
430         3(3 4 7)          // z-max
431         5(0 5 6 7 4)      // other
432     );
434     edges
435     12
436     (
437         (2 1)            // x-direction
438         (3 4)
439         (2 6)            // y-direction
440         (3 7)
441         (1 5)
442         (2 3)            // z-direction
443         (1 0)
444         (0 5)            // other
445         (5 6)
446         (6 7)
447         (7 4)
448         (4 0)
449     );
452 // Equal to sammTrim8
453 hexagonalPrism
455     index 18;
456     numberOfPoints 12;
458     faces
459     8
460     (
461         6(0 5 4 3 2 1)    // bottom
462         6(6 7 8 9 10 11)  // top
463         4(0 1 7 6)        // sides
464         4(1 2 8 7)
465         4(2 3 9 8)
466         4(3 4 10 9)
467         4(4 5 11 10)
468         4(5 0 6 11)
469     );
471     edges
472     18
473     (
474         (0 1)            // bottom
475         (1 2)
476         (2 3)
477         (3 4)
478         (4 5)
479         (5 0)
480         (6 7)            // top
481         (7 8)
482         (8 9)
483         (9 10)
484         (10 11)
485         (11 6)
486         (0 6)            // sides
487         (1 7)
488         (2 8)
489         (3 9)
490         (4 10)
491         (5 11)
492     );
498 // ************************************************************************* //