mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
VoF Solvers: Relocate the correction, sub-cycling and compressions controls from PIMPLE to the alpha1 sub-dict
MULES: Add support for explicit correction interPhaseChangeFoam: Add option for explicit MULES or as correction to an upwind solution Deprecate implicit form of MULES
This commit is contained in:
@ -14,37 +14,37 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
application interPhaseChangeFoam;
|
||||
application interPhaseChangeFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
startFrom latestTime;
|
||||
|
||||
startTime 0;
|
||||
startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
stopAt endTime;
|
||||
|
||||
endTime 0.05;
|
||||
endTime 0.05;
|
||||
|
||||
deltaT 1e-8;
|
||||
deltaT 1e-8;
|
||||
|
||||
writeControl adjustableRunTime;
|
||||
writeControl adjustableRunTime;
|
||||
|
||||
writeInterval 0.001;
|
||||
writeInterval 0.001;
|
||||
|
||||
purgeWrite 0;
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat ascii;
|
||||
writeFormat ascii;
|
||||
|
||||
writePrecision 6;
|
||||
writePrecision 6;
|
||||
|
||||
writeCompression uncompressed;
|
||||
writeCompression uncompressed;
|
||||
|
||||
timeFormat general;
|
||||
timeFormat general;
|
||||
|
||||
runTimeModifiable yes;
|
||||
runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep on;
|
||||
adjustTimeStep on;
|
||||
|
||||
maxCo 1.0;
|
||||
maxCo 5;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -32,6 +32,7 @@ divSchemes
|
||||
div(phi,k) Gauss linearUpwind grad(k);
|
||||
div(phi,alpha) Gauss vanLeer;
|
||||
div(phirb,alpha) Gauss interfaceCompression;
|
||||
UD Gauss upwind;
|
||||
div((muEff*dev(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
@ -47,10 +48,7 @@ laplacianSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default none;
|
||||
snGrad(pd) limited corrected 0.5;
|
||||
snGrad(rho) limited corrected 0.5;
|
||||
snGrad(alpha1) limited corrected 0.5;
|
||||
default limited corrected 0.5;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -18,22 +18,24 @@ solvers
|
||||
{
|
||||
alpha1
|
||||
{
|
||||
maxUnboundedness 1e-5;
|
||||
CoCoeff 2;
|
||||
maxIter 5;
|
||||
nLimiterIter 2;
|
||||
cAlpha 0;
|
||||
nAlphaCorr 2;
|
||||
nAlphaSubCycles 1;
|
||||
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-12;
|
||||
relTol 0.1;
|
||||
MULESCorr yes;
|
||||
nLimiterIter 5;
|
||||
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-8;
|
||||
relTol 0;
|
||||
};
|
||||
|
||||
U
|
||||
"U.*"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-06;
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
};
|
||||
|
||||
@ -96,10 +98,6 @@ PIMPLE
|
||||
nOuterCorrectors 1;
|
||||
nCorrectors 3;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
|
||||
cAlpha 0;
|
||||
nAlphaCorr 1;
|
||||
nAlphaSubCycles 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user