initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / tutorials / multiphase / interDyMFoam / ras / sloshingTank2D3DoF / constant / polyMesh / blockMeshDict
blob70aa130dc86021d8d1f59ff6dc2cf109fee249cf
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 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     object      blockMeshDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16 // General m4 macros
18   
26 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
27 // User-defined parameters
29 convertToMeters 1;
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 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 // Derived parameters
53  // Breadth to the top (height) of lower chamfer
54  // Breadth of upper chamfer
72 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
73 // Parametric description
75 vertices
77     (-0.5 -15 -10.0) // Vertex bllcb = 0 
78     (-0.5 -20 -5)  // Vertex bllc = 1 
79     (-0.5 -20 10)  // Vertex bluc = 2 
80     (-0.5 -10 20) // Vertex bluct = 3 
81     (-0.5 15 -10.0) // Vertex brlcb = 4 
82     (-0.5 20 -5)  // Vertex brlc = 5 
83     (-0.5 20 10)  // Vertex bruc = 6 
84     (-0.5 10 20) // Vertex bruct = 7 
86     (0.5 -15 -10.0) // Vertex fllcb = 8 
87     (0.5 -20 -5)  // Vertex fllc = 9 
88     (0.5 -20 10)  // Vertex fluc = 10 
89     (0.5 -10 20) // Vertex fluct = 11 
90     (0.5 15 -10.0) // Vertex frlcb = 12 
91     (0.5 20 -5)  // Vertex frlc = 13 
92     (0.5 20 10)  // Vertex fruc = 14 
93     (0.5 10 20) // Vertex fruct = 15 
96 blocks
98     // block0
99     hex (0 4 5 1 8 12 13 9)
100     (40 6 1)
101     simpleGrading (1 1 1)
103     // block1
104     hex (1 5 6 2 9 13 14 10)
105     (40 16 1)
106     simpleGrading (1 1 1)
108     // block2
109     hex (2 6 7 3 10 14 15 11)
110     (40 12 1)
111     simpleGrading (1 1 1)
114 patches
116     patch walls
117     (
118         (0 4 12 8)
119         (4 5 13 12)
120         (5 6 14 13)
121         (6 7 15 14)
122         (7 3 11 15)
123         (3 2 10 11)
124         (2 1 9 10)
125         (1 0 8 9)
126     )
128     empty front
129     (
130         (8 12 13 9)
131         (9 13 14 10)
132         (10 14 15 11)
133     )
135     empty back
136     (
137         (0 1 5 4)
138         (1 2 6 5)
139         (2 3 7 6)
140     )
143 // ************************************************************************* //