ENH: Update icoReactingMultiPhaseInterFoam tutorials

This commit is contained in:
sergio
2021-03-18 11:16:27 -07:00
parent 85ff3d39d4
commit 5c4d714b45
6 changed files with 33 additions and 14 deletions

View File

@ -39,6 +39,14 @@ solvers
cYi 1;
}
"pcorr.*"
{
solver PCG;
preconditioner DIC;
tolerance 1e-5;
relTol 0;
}
"(U.*|epsilon.*|k.*)"
{
solver smoothSolver;

View File

@ -29,7 +29,7 @@ deltaT 1e-5;
writeControl adjustable;
writeInterval 0.02;
writeInterval 0.01;
purgeWrite 0;

View File

@ -29,7 +29,7 @@ divSchemes
{
default none;
div(rhoPhi,U) Gauss linearUpwind gradU;
div(rhoPhi,U) Gauss limitedLinearV 1;
"div\(phi,alpha.*\)" Gauss vanLeer;
"div\(phir,alpha.*\)" Gauss linear;

View File

@ -39,7 +39,7 @@ solvers
);
nAlphaCorr 2;
nAlphaSubCycles 2;
nAlphaSubCycles 3;
// Compressiion factor for species in each alpha phase
// NOTE: It should be similar to cAlpha
@ -74,19 +74,16 @@ solvers
p_rgh
{
solver PCG;
preconditioner DIC;
tolerance 1e-9;
relTol 0.01;
solver GAMG;
smoother DICGaussSeidel;
tolerance 1e-11;
relTol 0.01;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
agglomerator faceAreaPair;
mergeLevels 1;
};
p_rghFinal
@ -94,10 +91,19 @@ solvers
$p_rgh;
relTol 0;
};
"pcorr.*"
{
solver PCG;
preconditioner DIC;
tolerance 1e-5;
relTol 0;
}
}
PIMPLE
{
correctPhi false;
momentumPredictor false;
nOuterCorrectors 1;
nCorrectors 4;

View File

@ -49,6 +49,11 @@ solvers
relTol 0;
}
"pcorr.*"
{
$p_rgh;
}
"U.*"
{
solver smoothSolver;

View File

@ -36,7 +36,7 @@ solvers
relTol 0;
}
pcorr
"pcorr.*"
{
solver PCG;
preconditioner DIC;