1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4 | \\ / O peration | Version: 1.7.1 |
5 | \\ / A nd | Web: www.OpenFOAM.com |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16 // block definition for a porosity with an angled inlet/outlet
17 // the porosity is not aligned with the main axes
20 convertToMeters 0.001;
25 ( -150 0 -25 ) // pt 0 (in1b)
26 ( -150 35.35533906 -25 ) // pt 1 (in2b)
27 ( -150 0 25 ) // pt 2 (in1f)
28 ( -150 35.35533906 25 ) // pt 3 (in2f)
31 ( 0 0 -25 ) // pt 4 (join1b)
32 ( -35.35533906 35.35533906 -25 ) // pt 5 (join2b)
33 ( 0 0 25 ) // pt 6 (join1f)
34 ( -35.35533906 35.35533906 25 ) // pt 7 (join2f)
36 // porosity ends ->outlet
37 ( 70.71067812 70.71067812 -25 ) // pt 8 (poro1b)
38 ( 35.35533906 106.06601718 -25 ) // pt 9 (poro2b)
39 ( 70.71067812 70.71067812 25 ) // pt 10 (poro1f)
40 ( 35.35533906 106.06601718 25 ) // pt 11 (poro2f)
43 ( 141.42135624 141.42135624 -25 ) // pt 12 (out1b)
44 ( 106.06601718 176.7766953 -25 ) // pt 13 (out2b)
45 ( 141.42135624 141.42135624 25 ) // pt 14 (out1f)
46 ( 106.06601718 176.7766953 25 ) // pt 15 (out2f)
53 inlet ( 15 20 20 ) simpleGrading (1 1 1)
56 hex (4 8 9 5 6 10 11 7)
57 porosity ( 20 20 20 ) simpleGrading (1 1 1)
60 hex (8 12 13 9 10 14 15 11)
61 outlet ( 20 20 20 ) simpleGrading (1 1 1)
70 // is there no way of defining all my 'defaultFaces' to be 'wall'?
123 // ************************************************************************* //