90 lines
1.8 KiB
C++
90 lines
1.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2006 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|k|omega|epsilon)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0.1;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|omega|epsilon)Final"
|
|
{
|
|
$U;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
"(PIMPLE|PISO)"
|
|
{
|
|
nOuterCorrectors 1;
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 1;
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
residualControl
|
|
{
|
|
p 1e-4;
|
|
U 1e-4;
|
|
"(k|omega|epsilon)" 1e-4;
|
|
}
|
|
nNonOrthogonalCorrectors 0;
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
|
|
}
|
|
|
|
potentialFlow
|
|
{
|
|
nNonOrthogonalCorrectors 10;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
p 0.3;
|
|
}
|
|
equations
|
|
{
|
|
U 0.7;
|
|
"(k|omega|epsilon)" 0.7;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|