fixed writing out entries in advective bc
[OpenFOAM-1.6-ext.git] / tutorials / heatTransfer / chtMultiRegionFoam / multiRegionHeater / system / topAir / changeDictionaryDict
blobd83174662053b59d1d090510a40e244392f3ea5b
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM Extend Project: Open Source CFD        |
4 |  \\    /   O peration     | Version:  1.6-ext                               |
5 |   \\  /    A nd           | Web:      www.extend-project.de                 |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     object      changePatchTypeDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 dictionaryReplacement
19     U
20     {
21         internalField   uniform ( 0.01 0 0 );
22         boundaryField
23         {
24             minX
25             {
26                 type            fixedValue;
27                 value           uniform (0.01 0 0);
28             }
29             maxX
30             {
31                 type            inletOutlet;
32                 inletValue      uniform (0 0 0);
33             }
35             topAir_to_leftSolid
36             {
37                 type            fixedValue;
38                 value           uniform (0 0 0);
40             }
41             topAir_to_heater
42             {
43                 type            fixedValue;
44                 value           uniform (0 0 0);
45             }
46             topAir_to_rightSolid
47             {
48                 type            fixedValue;
49                 value           uniform (0 0 0);
50             }
51         }
52     }
54     T
55     {
56         boundaryField
57         {
58             minX
59             {
60                 type            fixedValue;
61                 value           uniform 300;
62             }
63             topAir_to_leftSolid
64             {
65                 type            solidWallMixedTemperatureCoupled;
66                 neighbourRegionName leftSolid;
67                 neighbourPatchName leftSolid_to_topAir;
68                 neighbourFieldName T;
69                 K               K;
70                 value           uniform 300;
72             }
73             topAir_to_heater
74             {
75                 type            solidWallMixedTemperatureCoupled;
76                 neighbourRegionName heater;
77                 neighbourPatchName heater_to_topAir;
78                 neighbourFieldName T;
79                 K               K;
80                 value           uniform 300;
81             }
82             topAir_to_rightSolid
83             {
84                 type            solidWallMixedTemperatureCoupled;
85                 neighbourRegionName rightSolid;
86                 neighbourPatchName rightSolid_to_topAir;
87                 neighbourFieldName T;
88                 K               K;
89                 value           uniform 300;
90             }
91         }
92     }
94     epsilon
95     {
96         // Set the value on all bc to non-zero. Not used in simulation
97         // since zeroGradient; only used in initialisation.
98         boundaryField
99         {
100             minX
101             {
102                 type            fixedValue;
103                 value           uniform 0.01;
104             }
105             maxX
106             {
107                 type            zeroGradient;
108                 value           uniform 0.01;
109             }
111             minY
112             {
113                 type            zeroGradient;
114                 value           uniform 0.01;
115             }
116             maxY
117             {
118                 type            zeroGradient;
119                 value           uniform 0.01;
120             }
122             minZ
123             {
124                 type            zeroGradient;
125                 value           uniform 0.01;
126             }
127             maxZ
128             {
129                 type            zeroGradient;
130                 value           uniform 0.01;
131             }
132             topAir_to_leftSolid
133             {
134                 type            zeroGradient;
135                 value           uniform 0.01;
136             }
137             topAir_to_heater
138             {
139                 type            zeroGradient;
140                 value           uniform 0.01;
141             }
142             topAir_to_rightSolid
143             {
144                 type            zeroGradient;
145                 value           uniform 0.01;
146             }
147         }
148     }
150     k
151     {
152         internalField   uniform 0.1;
153         boundaryField
154         {
155             minX
156             {
157                 type            fixedValue;
158                 value           uniform 0.1;
159             }
161             maxX
162             {
163                 type            zeroGradient;
164                 value           uniform 0.1;
165             }
167             minY
168             {
169                 type            zeroGradient;
170                 value           uniform 0.1;
171             }
172             maxY
173             {
174                 type            zeroGradient;
175                 value           uniform 0.1;
176             }
178             minZ
179             {
180                 type            zeroGradient;
181                 value           uniform 0.1;
182             }
183             maxZ
184             {
185                 type            zeroGradient;
186                 value           uniform 0.1;
187             }
189             topAir_to_leftSolid
190             {
191                 type            zeroGradient;
192                 value           uniform 0.1;
193             }
194             topAir_to_heater
195             {
196                 type            zeroGradient;
197                 value           uniform 0.1;
198             }
199             topAir_to_rightSolid
200             {
201                 type            zeroGradient;
202                 value           uniform 0.1;
203             }
204         }
205     }
207     p
208     {
209         boundaryField
210         {
211             minX
212             {
213                 type            buoyantPressure;
214                 value           uniform 1e+05;
215             }
216             maxX
217             {
218                 type            waveTransmissive;
219                 field           pd;
220                 U               U;
221                 phi             phi;
222                 rho             rho;
223                 psi             psi;
224                 gamma           1.4;    // cp/cv
225                 fieldInf        0;
226                 lInf            0.40;   // double length of domain
227                 inletOutlet     off;
228                 correctSupercritical off;
229                 value           uniform 1e+05;
230             }
232             minY
233             {
234                 type            buoyantPressure;
235                 value           uniform 1e+05;
236             }
238             minZ
239             {
240                 type            buoyantPressure;
241                 value           uniform 1e+05;
242             }
243             maxZ
244             {
245                 type            buoyantPressure;
246                 value           uniform 1e+05;
247             }
249             topAir_to_leftSolid
250             {
251                 type            buoyantPressure;
252                 value           uniform 1e+05;
253             }
254             topAir_to_heater
255             {
256                 type            buoyantPressure;
257                 value           uniform 1e+05;
258             }
259             topAir_to_rightSolid
260             {
261                 type            buoyantPressure;
262                 value           uniform 1e+05;
263             }
264         }
265     }
269 // ************************************************************************* //