mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Update icoReactingMultiPhaseInterFoam tutorials
This commit is contained in:
@ -39,6 +39,14 @@ solvers
|
|||||||
cYi 1;
|
cYi 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"pcorr.*"
|
||||||
|
{
|
||||||
|
solver PCG;
|
||||||
|
preconditioner DIC;
|
||||||
|
tolerance 1e-5;
|
||||||
|
relTol 0;
|
||||||
|
}
|
||||||
|
|
||||||
"(U.*|epsilon.*|k.*)"
|
"(U.*|epsilon.*|k.*)"
|
||||||
{
|
{
|
||||||
solver smoothSolver;
|
solver smoothSolver;
|
||||||
|
|||||||
@ -29,7 +29,7 @@ deltaT 1e-5;
|
|||||||
|
|
||||||
writeControl adjustable;
|
writeControl adjustable;
|
||||||
|
|
||||||
writeInterval 0.02;
|
writeInterval 0.01;
|
||||||
|
|
||||||
purgeWrite 0;
|
purgeWrite 0;
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@ divSchemes
|
|||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(rhoPhi,U) Gauss linearUpwind gradU;
|
div(rhoPhi,U) Gauss limitedLinearV 1;
|
||||||
|
|
||||||
"div\(phi,alpha.*\)" Gauss vanLeer;
|
"div\(phi,alpha.*\)" Gauss vanLeer;
|
||||||
"div\(phir,alpha.*\)" Gauss linear;
|
"div\(phir,alpha.*\)" Gauss linear;
|
||||||
|
|||||||
@ -39,7 +39,7 @@ solvers
|
|||||||
);
|
);
|
||||||
|
|
||||||
nAlphaCorr 2;
|
nAlphaCorr 2;
|
||||||
nAlphaSubCycles 2;
|
nAlphaSubCycles 3;
|
||||||
|
|
||||||
// Compressiion factor for species in each alpha phase
|
// Compressiion factor for species in each alpha phase
|
||||||
// NOTE: It should be similar to cAlpha
|
// NOTE: It should be similar to cAlpha
|
||||||
@ -74,14 +74,11 @@ solvers
|
|||||||
|
|
||||||
p_rgh
|
p_rgh
|
||||||
{
|
{
|
||||||
solver PCG;
|
solver GAMG;
|
||||||
preconditioner DIC;
|
smoother DICGaussSeidel;
|
||||||
tolerance 1e-9;
|
tolerance 1e-11;
|
||||||
relTol 0.01;
|
relTol 0.01;
|
||||||
|
|
||||||
nPreSweeps 0;
|
|
||||||
nPostSweeps 2;
|
|
||||||
|
|
||||||
cacheAgglomeration true;
|
cacheAgglomeration true;
|
||||||
|
|
||||||
nCellsInCoarsestLevel 10;
|
nCellsInCoarsestLevel 10;
|
||||||
@ -94,10 +91,19 @@ solvers
|
|||||||
$p_rgh;
|
$p_rgh;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"pcorr.*"
|
||||||
|
{
|
||||||
|
solver PCG;
|
||||||
|
preconditioner DIC;
|
||||||
|
tolerance 1e-5;
|
||||||
|
relTol 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PIMPLE
|
PIMPLE
|
||||||
{
|
{
|
||||||
|
correctPhi false;
|
||||||
momentumPredictor false;
|
momentumPredictor false;
|
||||||
nOuterCorrectors 1;
|
nOuterCorrectors 1;
|
||||||
nCorrectors 4;
|
nCorrectors 4;
|
||||||
|
|||||||
@ -49,6 +49,11 @@ solvers
|
|||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"pcorr.*"
|
||||||
|
{
|
||||||
|
$p_rgh;
|
||||||
|
}
|
||||||
|
|
||||||
"U.*"
|
"U.*"
|
||||||
{
|
{
|
||||||
solver smoothSolver;
|
solver smoothSolver;
|
||||||
|
|||||||
@ -36,7 +36,7 @@ solvers
|
|||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
pcorr
|
"pcorr.*"
|
||||||
{
|
{
|
||||||
solver PCG;
|
solver PCG;
|
||||||
preconditioner DIC;
|
preconditioner DIC;
|
||||||
|
|||||||
Reference in New Issue
Block a user