Forward compatibility: flex
[foam-extend-3.2.git] / tutorials / mesh / cfMesh / cartesianMesh / singleOrifice / system / meshDict
blob49d5af8ea3e00cd0cfedb6513f5cf1b0b6547c11
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                |
3 | \\      /  F ield         | cfMesh: A library for mesh generation          |
4 |  \\    /   O peration     |                                                |
5 |   \\  /    A nd           | Author: Franjo Juretic                         |
6 |    \\/     M anipulation  | E-mail: franjo.juretic@c-fields.com            |
7 \*---------------------------------------------------------------------------*/
9 FoamFile
11     version   2.0;
12     format    ascii;
13     class     dictionary;
14     location  "system";
15     object    meshDict;
18 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
20 surfaceFile "singleOrifice.stl";
22 maxCellSize 3.0;
24 boundaryCellSize 1.0;
26 minCellSize 0.50;
28 anisotropicSources
30     Plane
31     {
32         type plane;
33         origin (0 0 -20);
34         normal (0 0 1);
35         scalingDistance 45;
36         scalingFactor 2;
37     }
40 localRefinement
42     "orificeRegion.*"
43     {
44         cellSize 0.2;
45     }
48 boundaryLayers
50 //    nLayers 3;
52 //    thicknessRatio 1.2;
54 //    maxFirstLayerThickness 0.5;
56     patchBoundaryLayers
57     {
58         "orificeRegion.*"
59         {
60             nLayers           4;
62             thicknessRatio    1.2;
64             maxFirstLayerThickness 0.2;
66             allowDiscontinuity 0;
67         }
69         "fixedWalls.*"
70         {
71             nLayers           4;
73             thicknessRatio    1.2;
75             maxFirstLayerThickness 0.5;
77             allowDiscontinuity 0;
78         }
79     }
82 renameBoundary
84     defaultName fixedWalls;
85     defaultType wall;
87     newPatchNames
88     {
89         "orificeRegion.*"
90         {
91             newName orificeRegion;
92             newType     wall;
93         }
95         "inlet.*"
96         {
97             newName     inlet;
98             newType     patch;
99         }
101         "outlet.*"
102         {
103             newName     outlet;
104             newType     patch;
105         }
106     }
110 // ************************************************************************* //