initial commit for version 1.5.x patch release
[OpenFOAM-1.5.x.git] / tutorials / interDyMFoam / sloshingTank2D / constant / polyMesh / blockMeshDict
blob3c52247aa29f0cb0eeb549c39a24a6e11a8f3391
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
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 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     object      blockMeshDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16 // General m4 macros
28 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
29 // User-defined parameters
31 convertToMeters 1;
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 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53 // Derived parameters
55  // Breadth to the top (height) of lower chamfer
56  // Breadth of upper chamfer
74 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
75 // Parametric description
77 vertices
79     (-0.5 -15 -10.0) // Vertex bllcb = 0 
80     (-0.5 -20 -5)  // Vertex bllc = 1 
81     (-0.5 -20 10)  // Vertex bluc = 2 
82     (-0.5 -10 20) // Vertex bluct = 3 
83     (-0.5 15 -10.0) // Vertex brlcb = 4 
84     (-0.5 20 -5)  // Vertex brlc = 5 
85     (-0.5 20 10)  // Vertex bruc = 6 
86     (-0.5 10 20) // Vertex bruct = 7 
88     (0.5 -15 -10.0) // Vertex fllcb = 8 
89     (0.5 -20 -5)  // Vertex fllc = 9 
90     (0.5 -20 10)  // Vertex fluc = 10 
91     (0.5 -10 20) // Vertex fluct = 11 
92     (0.5 15 -10.0) // Vertex frlcb = 12 
93     (0.5 20 -5)  // Vertex frlc = 13 
94     (0.5 20 10)  // Vertex fruc = 14 
95     (0.5 10 20) // Vertex fruct = 15 
98 blocks
100     // block0
101     hex (0 4 5 1 8 12 13 9)
102     (40 6 1)
103     simpleGrading (1 1 1)
105     // block1
106     hex (1 5 6 2 9 13 14 10)
107     (40 16 1)
108     simpleGrading (1 1 1)
110     // block2
111     hex (2 6 7 3 10 14 15 11)
112     (40 12 1)
113     simpleGrading (1 1 1)
116 patches
118     patch walls
119     (
120         (0 4 12 8)
121         (4 5 13 12)
122         (5 6 14 13)
123         (6 7 15 14)
124         (7 3 11 15)
125         (3 2 10 11)
126         (2 1 9 10)
127         (1 0 8 9)
128     )
130     empty front
131     (
132         (8 12 13 9)
133         (9 13 14 10)
134         (10 14 15 11)
135     )
137     empty back
138     (
139         (0 1 5 4)
140         (1 2 6 5)
141         (2 3 7 6)
142     )
145 // ************************************************************************* //