82 lines
1.8 KiB
C++
82 lines
1.8 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
|
|
{
|
|
rho
|
|
{
|
|
solver PCG
|
|
preconditioner DIC;
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
}
|
|
|
|
"(U|h|k|epsilon|G|Ii)"
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
}
|
|
|
|
G
|
|
{
|
|
$p_rgh;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
nNonOrthogonalCorrectors 0;
|
|
pRefCell 0;
|
|
pRefValue 100000;
|
|
rhoMin 0.2;
|
|
rhoMax 2;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
rho 1.0;
|
|
p_rgh 0.7;
|
|
}
|
|
equations
|
|
{
|
|
U 0.3;
|
|
h 0.7;
|
|
"(k|epsilon|omega)" 0.7;
|
|
G 0.7;
|
|
"ILambda.*" 0.7;
|
|
Qr 0.7;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|