multiRegionHeater tutorial: Corrected the generation of the p BCs.
[OpenFOAM-1.6.x.git] / tutorials / heatTransfer / chtMultiRegionSimpleFoam / multiRegionHeater / system / topAir / changeDictionaryDict
blob5c811e67833c750a30b249275b25a1037164898c
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      changeDictionaryDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 dictionaryReplacement
19     U
20     {
21         internalField   uniform (0.01 0 0);
23         boundaryField
24         {
25             ".*"
26             {
27                 type            fixedValue;
28                 value           uniform (0 0 0);
29             }
30             minX
31             {
32                 type            fixedValue;
33                 value           uniform ( 0.01 0 0 );
34             }
35             maxX
36             {
37                 type            inletOutlet;
38                 inletValue      uniform ( 0 0 0 );
39                 value           uniform ( 0 0 0 );
40             }
41         }
42     }
44     T
45     {
46         internalField   uniform 300;
48         boundaryField
49         {
50             ".*"
51             {
52                 type            zeroGradient;
53             }
55             minX
56             {
57                 type            fixedValue;
58                 value           uniform 300;
59             }
60             maxX
61             {
62                 type            inletOutlet;
63                 inletValue      uniform 300;
64                 value           uniform 300;
65             }
67             "topAir_to_.*"
68             {
69                 type            compressible::turbulentTemperatureCoupledBaffle;
70                 neighbourFieldName T;
71                 K               K;
72                 value           uniform 300;
73             }
74         }
75     }
77     epsilon
78     {
79         internalField   uniform 0.01;
81         boundaryField
82         {
83             ".*"
84             {
85                 type            compressible::epsilonWallFunction;
86                 value           uniform 0.01;
87             }
89             minX
90             {
91                 type            fixedValue;
92                 value           uniform 0.01;
93             }
94             maxX
95             {
96                 type            inletOutlet;
97                 inletValue      uniform 0.01;
98                 value           uniform 0.01;
99             }
100         }
101     }
103     k
104     {
105         internalField   uniform 0.1;
107         boundaryField
108         {
109             ".*"
110             {
111                 type            compressible::kqRWallFunction;
112                 value           uniform 0.1;
113             }
115             minX
116             {
117                 type            fixedValue;
118                 value           uniform 0.1;
119             }
120             maxX
121             {
122                 type            inletOutlet;
123                 inletValue      uniform 0.1;
124                 value           uniform 0.1;
125             }
126         }
127     }
129     p
130     {
131         internalField   uniform 100000;
133         boundaryField
134         {
135             ".*"
136             {
137                 type            buoyantPressure;
138                 value           1e5;
139             }
141             maxX
142             {
143                 type            fixedValue;
144                 value           uniform 100000;
145             }
146         }
147     }
150 // ************************************************************************* //