tutorials::wallBoilingIATE: Updated for consistency with the wallBoiling case
Resolves a thermodynamic stability problem.
This commit is contained in:
@ -12,7 +12,9 @@ runApplication $application
|
|||||||
if ! isTest $@
|
if ! isTest $@
|
||||||
then
|
then
|
||||||
foamDictionary system/controlDict -entry endTime -set 5
|
foamDictionary system/controlDict -entry endTime -set 5
|
||||||
|
foamDictionary system/controlDict -entry startTime -set 2
|
||||||
foamDictionary 2/T.liquid -entry boundaryField.wall2.q -set 'uniform 1e5'
|
foamDictionary 2/T.liquid -entry boundaryField.wall2.q -set 'uniform 1e5'
|
||||||
|
foamDictionary 2/U.liquid -entry boundaryField.inlet.type -set 'fixedValue'
|
||||||
runApplication -a $application
|
runApplication -a $application
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,66 @@
|
|||||||
|
p,Tsat
|
||||||
|
99083.3,372.499
|
||||||
|
100667,372.942
|
||||||
|
102250,373.379
|
||||||
|
103833,373.811
|
||||||
|
105417,374.237
|
||||||
|
107000,374.658
|
||||||
|
108583,375.074
|
||||||
|
110167,375.485
|
||||||
|
111750,375.891
|
||||||
|
113333,376.293
|
||||||
|
114917,376.689
|
||||||
|
116500,377.082
|
||||||
|
118083,377.47
|
||||||
|
119667,377.853
|
||||||
|
121250,378.233
|
||||||
|
122833,378.608
|
||||||
|
124417,378.98
|
||||||
|
126000,379.347
|
||||||
|
127583,379.711
|
||||||
|
129167,380.071
|
||||||
|
130750,380.427
|
||||||
|
132333,380.78
|
||||||
|
133917,381.13
|
||||||
|
135500,381.476
|
||||||
|
137083,381.819
|
||||||
|
138667,382.158
|
||||||
|
140250,382.494
|
||||||
|
141833,382.828
|
||||||
|
143417,383.158
|
||||||
|
145000,383.485
|
||||||
|
146583,383.809
|
||||||
|
148167,384.131
|
||||||
|
149750,384.449
|
||||||
|
151333,384.765
|
||||||
|
152917,385.078
|
||||||
|
154500,385.389
|
||||||
|
156083,385.697
|
||||||
|
157667,386.002
|
||||||
|
159250,386.305
|
||||||
|
160833,386.605
|
||||||
|
162417,386.903
|
||||||
|
164000,387.199
|
||||||
|
165583,387.492
|
||||||
|
167167,387.783
|
||||||
|
168750,388.072
|
||||||
|
170333,388.358
|
||||||
|
171917,388.642
|
||||||
|
173500,388.925
|
||||||
|
175083,389.205
|
||||||
|
176667,389.483
|
||||||
|
178250,389.759
|
||||||
|
179833,390.033
|
||||||
|
181417,390.305
|
||||||
|
183000,390.575
|
||||||
|
184583,390.843
|
||||||
|
186167,391.109
|
||||||
|
187750,391.374
|
||||||
|
189333,391.636
|
||||||
|
190917,391.897
|
||||||
|
192500,392.156
|
||||||
|
194083,392.413
|
||||||
|
195667,392.669
|
||||||
|
197250,392.923
|
||||||
|
198833,393.175
|
||||||
|
200417,393.426
|
||||||
|
@ -111,10 +111,20 @@ surfaceTension
|
|||||||
|
|
||||||
saturationModel
|
saturationModel
|
||||||
{
|
{
|
||||||
type constant;
|
type function1;
|
||||||
|
|
||||||
Tsat 373;
|
function csvFile;
|
||||||
pSat 1e5;
|
functionCoeffs
|
||||||
|
{
|
||||||
|
nHeaderLine 1;
|
||||||
|
refColumn 0;
|
||||||
|
componentColumns (1);
|
||||||
|
separator ",";
|
||||||
|
mergeSeparators no;
|
||||||
|
file "Tsat_water_1_2bar.csv";
|
||||||
|
outOfBounds clamp;
|
||||||
|
interpolationScheme linear;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
aspectRatio
|
aspectRatio
|
||||||
|
|||||||
@ -20,14 +20,12 @@ thermoType
|
|||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture pureMixture;
|
mixture pureMixture;
|
||||||
transport const;
|
transport const;
|
||||||
thermo hRefConst;
|
thermo eRefConst;
|
||||||
equationOfState perfectGas;
|
equationOfState perfectGas;
|
||||||
specie specie;
|
specie specie;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleInternalEnergy;
|
||||||
}
|
}
|
||||||
|
|
||||||
dpdt no;
|
|
||||||
|
|
||||||
mixture
|
mixture
|
||||||
{
|
{
|
||||||
specie
|
specie
|
||||||
@ -41,9 +39,9 @@ mixture
|
|||||||
thermodynamics
|
thermodynamics
|
||||||
{
|
{
|
||||||
Hf 0;
|
Hf 0;
|
||||||
Cp 12078.4;
|
Cv 12078.4;
|
||||||
Tref 373.55;
|
Tref 373.55;
|
||||||
Href 2675500;
|
Eref 2675500;
|
||||||
}
|
}
|
||||||
transport
|
transport
|
||||||
{
|
{
|
||||||
|
|||||||
@ -36,7 +36,7 @@ mixture
|
|||||||
{
|
{
|
||||||
R 3000;
|
R 3000;
|
||||||
rho0 959;
|
rho0 959;
|
||||||
rho 959;
|
rho 959;
|
||||||
}
|
}
|
||||||
thermodynamics
|
thermodynamics
|
||||||
{
|
{
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
|
|
||||||
application reactingTwoPhaseEulerFoam;
|
application reactingTwoPhaseEulerFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom startTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user