initial commit for version 1.5.x patch release
[OpenFOAM-1.5.x.git] / tutorials / interDyMFoam / sloshingTank3D6DoF / constant / polyMesh / blockMeshDict
blob0d21d111481f4479c9f59f540e7962d4a65e3e4c
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     (-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 
98 blocks
100     // block0
101     hex (0 4 5 1 8 12 13 9)
102     (40 6 19)
103     simpleGrading (1 1 1)
105     // block1
106     hex (1 5 6 2 9 13 14 10)
107     (40 16 19)
108     simpleGrading (1 1 1)
110     // block2
111     hex (2 6 7 3 10 14 15 11)
112     (40 12 19)
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         (8 12 13 9)
129         (9 13 14 10)
130         (10 14 15 11)
131         (0 1 5 4)
132         (1 2 6 5)
133         (2 3 7 6)
134     )
137 // ************************************************************************* //