1 /*--------------------------------*- C++ -*----------------------------------*\
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 \*---------------------------------------------------------------------------*/
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
26 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
27 // User-defined parameters
31 // Length of tank (x-direction)
32 // Breadth of tank (y-direction)
33 // Depth of tank (z-direction)
35 // Depth to the top (height) of lower chamfer
36 // Height of upper chamfer
38 // Angle of lower chamfer to the horizontal
39 // Angle of upper chamfer to the horizontal
41 // Centre of gravity in y-direction
42 // Centre of gravity in z-direction
44 // Number of cells in the length (1 for 2D)
45 // Number of cells in the breadth
46 // Number of cells in the height of the lower champfer
47 // Number of cells in the height between the chamfers
48 // Number of cells in the height of the upper champfer
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53 // Breadth to the top (height) of lower chamfer
54 // Breadth of upper chamfer
72 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
73 // Parametric description
77 (-10 -15 -10.0) // Vertex bllcb = 0
78 (-10 -20 -5) // Vertex bllc = 1
79 (-10 -20 10) // Vertex bluc = 2
80 (-10 -10 20) // Vertex bluct = 3
81 (-10 15 -10.0) // Vertex brlcb = 4
82 (-10 20 -5) // Vertex brlc = 5
83 (-10 20 10) // Vertex bruc = 6
84 (-10 10 20) // Vertex bruct = 7
86 (10 -15 -10.0) // Vertex fllcb = 8
87 (10 -20 -5) // Vertex fllc = 9
88 (10 -20 10) // Vertex fluc = 10
89 (10 -10 20) // Vertex fluct = 11
90 (10 15 -10.0) // Vertex frlcb = 12
91 (10 20 -5) // Vertex frlc = 13
92 (10 20 10) // Vertex fruc = 14
93 (10 10 20) // Vertex fruct = 15
99 hex (0 4 5 1 8 12 13 9)
101 simpleGrading (1 1 1)
104 hex (1 5 6 2 9 13 14 10)
106 simpleGrading (1 1 1)
109 hex (2 6 7 3 10 14 15 11)
111 simpleGrading (1 1 1)
135 // ************************************************************************* //