94 lines
2.1 KiB
C++
94 lines
2.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2412 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
"alpha.*"
|
|
{
|
|
nAlphaCorr 2;
|
|
nAlphaSubCycles 1;
|
|
|
|
MULESCorr yes;
|
|
nLimiterIter 3;
|
|
alphaApplyPrevCorr yes;
|
|
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
minIter 1;
|
|
}
|
|
|
|
"alpha.*Diffusion"
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
minIter 1;
|
|
}
|
|
|
|
"rho.*"
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-6;
|
|
relTol 0.05;
|
|
smoother GaussSeidel;
|
|
nCellsInCoarsestLevel 20;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|epsilon)"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-6;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|k|epsilon)Final"
|
|
{
|
|
$k;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor no;
|
|
nCorrectors 3;
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|