101 lines
2.1 KiB
C++
101 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.phase1
|
|
{
|
|
nAlphaCorr 1;
|
|
nAlphaSubCycles 2;
|
|
cAlpha 1;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-6;
|
|
relTol 0.02;
|
|
smoother GaussSeidel;
|
|
}
|
|
|
|
pcorr
|
|
{
|
|
$p_rgh;
|
|
tolerance 0.1;
|
|
relTol 0;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
relTol 0;
|
|
}
|
|
|
|
pcorrFinal
|
|
{
|
|
$pcorr;
|
|
tolerance 0.1;
|
|
relTol 0;
|
|
}
|
|
|
|
".*(rho|rhoFinal)"
|
|
{
|
|
solver diagonal;
|
|
}
|
|
|
|
"U.*"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
}
|
|
|
|
"(T|k|epsilon).*"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
correctPhi yes;
|
|
nOuterCorrectors 1;
|
|
nCorrectors 3;
|
|
nNonOrthogonalCorrectors 0;
|
|
nAlphaCorr 1;
|
|
nAlphaSubCycles 2;
|
|
cAlpha 1;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
"U.*" 1;
|
|
"k.*" 1;
|
|
"epsilon.*" 1;
|
|
"T.*" 1;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|