tutorials: reactingTwoPhaseEulerFoam: Updates to steamInjection

Added limiters for the phase temperatures to prevent divergence, and
monitors to report the minimum and maximum values. Removed the
setTimeStep functionObject as the temperature limiters make this
unnecessary. Dereased the number of energy correctors and set a higher
Courant number limit to reduce the execution-time of the case.

Patch contributed by Juho Peltola, VTT.
This commit is contained in:
Will Bainbridge
2019-07-31 15:57:18 +01:00
parent a8020984f6
commit 332b72d561
4 changed files with 26 additions and 22 deletions

View File

@ -66,6 +66,26 @@ options
h.steam (3700 0); // kg*m^2/s^3
}
}
limitTsteam
{
type limitTemperature;
active yes;
selectionMode all;
min 270;
max 2000;
phase steam;
}
limitTwater
{
type limitTemperature;
active yes;
selectionMode all;
min 270;
max 2000;
phase water;
}
}

View File

@ -47,27 +47,20 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.1;
maxCo 0.25;
maxDeltaT 1e-2;
functions
{
timeStepping
{
type setTimeStep;
functionObjectLibs ("libutilityFunctionObjects.so");
enabled yes;
deltaT tableFile;
file "system/deltaTvalues";
}
minMaxp
minMax
{
type fieldMinMax;
functionObjectLibs ("libfieldFunctionObjects.so");
fields
(
T.steam
T.water
p
);
location no;

View File

@ -1,9 +0,0 @@
(
(0 1e-3)
(0.99 1e-3)
(0.999 1e-4)
(0.9999 1e-5)
(1.001 1e-5)
(1.01 1e-4)
(1.1 1e-3)
);

View File

@ -81,7 +81,7 @@ PIMPLE
nOuterCorrectors 3;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
nEnergyCorrectors 2;
nEnergyCorrectors 1;
faceMomentum yes;
}