1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | foam-extend: Open Source CFD |
4 | \\ / O peration | Version: 3.2 |
5 | \\ / A nd | Web: http://www.foam-extend.org |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
19 // User-defined parameters
23 // Length of tank (x-direction)
24 // Breadth of tank (y-direction)
25 // Depth of tank (z-direction)
27 // Depth to the top (height) of lower chamfer
28 // Height of upper chamfer
30 // Angle of lower chamfer to the horizontal
31 // Angle of upper chamfer to the horizontal
33 // Centre of gravity in y-direction
34 // Centre of gravity in z-direction
36 // Number of cells in the length (1 for 2D)
37 // Number of cells in the breadth
38 // Number of cells in the height of the lower champfer
39 // Number of cells in the height between the chamfers
40 // Number of cells in the height of the upper champfer
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 // Breadth to the top (height) of lower chamfer
46 // Breadth of upper chamfer
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 // Parametric description
53 (-10 -15 -10.0) // Vertex bllcb = 0
54 (-10 -20 -5) // Vertex bllc = 1
55 (-10 -20 10) // Vertex bluc = 2
56 (-10 -10 20) // Vertex bluct = 3
57 (-10 15 -10.0) // Vertex brlcb = 4
58 (-10 20 -5) // Vertex brlc = 5
59 (-10 20 10) // Vertex bruc = 6
60 (-10 10 20) // Vertex bruct = 7
62 (10 -15 -10.0) // Vertex fllcb = 8
63 (10 -20 -5) // Vertex fllc = 9
64 (10 -20 10) // Vertex fluc = 10
65 (10 -10 20) // Vertex fluct = 11
66 (10 15 -10.0) // Vertex frlcb = 12
67 (10 20 -5) // Vertex frlc = 13
68 (10 20 10) // Vertex fruc = 14
69 (10 10 20) // Vertex fruct = 15
75 hex (0 4 5 1 8 12 13 9)
80 hex (1 5 6 2 9 13 14 10)
85 hex (2 6 7 3 10 14 15 11)
111 // ************************************************************************* //