106 lines
2.1 KiB
C++
106 lines
2.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2012 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
rho
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
}
|
|
|
|
rhoFinal
|
|
{
|
|
$rho;
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|h|k|epsilon|R)"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|h|k|epsilon|R)Final"
|
|
{
|
|
$U;
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
//PIMPLE
|
|
//{
|
|
// momentumPredictor yes;
|
|
// nCorrectors 2;
|
|
// nNonOrthogonalCorrectors 0;
|
|
//}
|
|
//
|
|
//relaxationFactors
|
|
//{
|
|
// equations
|
|
// {
|
|
// "h.*" 1;
|
|
// "U.*" 1;
|
|
// }
|
|
//}
|
|
|
|
|
|
SIMPLE
|
|
{
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
rho 1;
|
|
p_rgh 0.7;
|
|
}
|
|
equations
|
|
{
|
|
U 0.3;
|
|
"(h|e)" 0.3;
|
|
k 0.3;
|
|
epsilon 0.3;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|