compressibleInterFoam: Completed LTS and semi-implicit MULES support

Now the interFoam and compressibleInterFoam families of solvers use the same
alphaEqn formulation and supporting all of the MULES options without
code-duplication.

The semi-implicit MULES support allows running with significantly larger
time-steps but this does reduce the interface sharpness.
This commit is contained in:
Henry Weller
2017-02-09 17:31:57 +00:00
parent 6fc2a3dc58
commit b167c95f19
37 changed files with 251 additions and 167 deletions

View File

@ -29,15 +29,15 @@ deltaT 0.0001;
writeControl adjustableRunTime;
writeInterval 0.005;
writeInterval 0.01;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 8;
writeCompression compressed;
writeCompression off;
timeFormat general;
@ -47,10 +47,9 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.25;
maxCo 0.5;
maxAlphaCo 0.5;
maxDeltaT 1;
maxAlphaCo 1;
// ************************************************************************* //

View File

@ -17,11 +17,19 @@ FoamFile
solvers
{
alpha.water
"alpha.water.*"
{
nAlphaCorr 1;
nAlphaSubCycles 1;
nAlphaSubCycles 2;
cAlpha 1;
MULESCorr no;
nLimiterIter 5;
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-8;
relTol 0;
}
".*(rho|rhoFinal)"

View File

@ -29,7 +29,7 @@ deltaT 0.0001;
writeControl adjustableRunTime;
writeInterval 0.005;
writeInterval 0.01;
purgeWrite 0;
@ -47,10 +47,9 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.25;
maxCo 0.5;
maxAlphaCo 0.5;
maxDeltaT 1;
maxAlphaCo 1;
// ************************************************************************* //

View File

@ -17,11 +17,19 @@ FoamFile
solvers
{
alpha.water
"alpha.water.*"
{
nAlphaCorr 1;
nAlphaSubCycles 1;
nAlphaSubCycles 2;
cAlpha 1;
MULESCorr no;
nLimiterIter 5;
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-8;
relTol 0;
}
pcorr