The new optional PIMPLE control transportPredictionFirst is used to select if the transport modelling predictor is executed ever PIMPLE iteration or only on the first, which is the default. Also the transportCorr() function has been renamed correctTransport() for consistency and the tutorials updated to use the new control name transportCorrectionFinal instead of the previous name turbOnFinalIterOnly; support for turbOnFinalIterOnly is maintained for backwards-compatibility.
55 lines
1.2 KiB
C++
55 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
smoother DIC;
|
|
|
|
tolerance 1e-6;
|
|
relTol 0.1;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
relTol 0;
|
|
}
|
|
|
|
"U.*"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor no;
|
|
nOuterCorrectors 5;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
transportPredictionFirst yes;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|