03a7dfe35c
pisoFoam/NACA4412: comparison of pressure coefficient with experimental data. Author: Filip Sutalo, Merge: Vuko Vukcevic
116 lines
2.8 KiB
C++
116 lines
2.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.2 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | For copyright notice see file Copyright |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver amgSolver;
|
|
cycle V-cycle;
|
|
policy PAMG;
|
|
interpolation direct;
|
|
nPreSweeps 2;
|
|
nPostSweeps 2;
|
|
groupSize 4;
|
|
minCoarseEqns 100;
|
|
nMaxLevels 100;
|
|
scale on;
|
|
smoother GaussSeidel;
|
|
|
|
minIter 1;
|
|
maxIter 200;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
solver amgSolver;
|
|
cycle V-cycle;
|
|
policy PAMG;
|
|
interpolation direct;
|
|
nPreSweeps 2;
|
|
nPostSweeps 2;
|
|
groupSize 4;
|
|
minCoarseEqns 100;
|
|
nMaxLevels 100;
|
|
scale on;
|
|
smoother GaussSeidel;
|
|
|
|
minIter 1;
|
|
maxIter 200;
|
|
tolerance 1e-7;
|
|
relTol 0.0;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0.01;
|
|
minIter 1;
|
|
}
|
|
|
|
UFinal
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0.0;
|
|
minIter 1;
|
|
}
|
|
|
|
k
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0.1;
|
|
minIter 1;
|
|
}
|
|
|
|
omega
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0.1;
|
|
minIter 1;
|
|
}
|
|
}
|
|
|
|
PISO
|
|
{
|
|
nCorrectors 4;
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
U 1;
|
|
k 0.7;
|
|
epsilon 0.7;
|
|
}
|
|
fields
|
|
{
|
|
p 1;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|