1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4 | \\ / O peration | Version: dev |
5 | \\ / A nd | Web: http://www.OpenFOAM.org |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
28 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
29 // User-defined parameters
33 // Length of tank (x-direction)
34 // Breadth of tank (y-direction)
35 // Depth of tank (z-direction)
37 // Depth to the top (height) of lower chamfer
38 // Height of upper chamfer
40 // Angle of lower chamfer to the horizontal
41 // Angle of upper chamfer to the horizontal
43 // Centre of gravity in y-direction
44 // Centre of gravity in z-direction
46 // Number of cells in the length (1 for 2D)
47 // Number of cells in the breadth
48 // Number of cells in the height of the lower champfer
49 // Number of cells in the height between the chamfers
50 // Number of cells in the height of the upper champfer
52 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
55 // Breadth to the top (height) of lower chamfer
56 // Breadth of upper chamfer
74 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
75 // Parametric description
79 (-10 -15 -10.0) // Vertex bllcb = 0
80 (-10 -20 -5) // Vertex bllc = 1
81 (-10 -20 10) // Vertex bluc = 2
82 (-10 -10 20) // Vertex bluct = 3
83 (-10 15 -10.0) // Vertex brlcb = 4
84 (-10 20 -5) // Vertex brlc = 5
85 (-10 20 10) // Vertex bruc = 6
86 (-10 10 20) // Vertex bruct = 7
88 (10 -15 -10.0) // Vertex fllcb = 8
89 (10 -20 -5) // Vertex fllc = 9
90 (10 -20 10) // Vertex fluc = 10
91 (10 -10 20) // Vertex fluct = 11
92 (10 15 -10.0) // Vertex frlcb = 12
93 (10 20 -5) // Vertex frlc = 13
94 (10 20 10) // Vertex fruc = 14
95 (10 10 20) // Vertex fruct = 15
101 hex (0 4 5 1 8 12 13 9)
103 simpleGrading (1 1 1)
106 hex (1 5 6 2 9 13 14 10)
108 simpleGrading (1 1 1)
111 hex (2 6 7 3 10 14 15 11)
113 simpleGrading (1 1 1)
137 // ************************************************************************* //