92 lines
1.9 KiB
C++
92 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
pcorr
|
|
{
|
|
solver GAMG;
|
|
tolerance 0.02;
|
|
relTol 0;
|
|
smoother GaussSeidel;
|
|
}
|
|
|
|
p
|
|
{
|
|
$pcorr
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|omega)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-06;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|k|omega)Final"
|
|
{
|
|
$U;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
|
|
cellDisplacement
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
smoother GaussSeidel;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
correctPhi yes;
|
|
nOuterCorrectors 2;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
p 0.3;
|
|
}
|
|
equations
|
|
{
|
|
"(U|k|omega)" 0.7;
|
|
"(U|k|omega)Final" 1.0;
|
|
}
|
|
}
|
|
|
|
cache
|
|
{
|
|
grad(U);
|
|
}
|
|
|
|
// ************************************************************************* //
|