b6cf22304f
First validation test case: backwardFacingStep with simpleFoam, comparison of velocity profiles and pressure coefficient with experimental data. Author: Robert Keser, Merge: Vuko Vukcevic
70 lines
1.7 KiB
C++
70 lines
1.7 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 | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
cacheAgglomeration on;
|
|
agglomerator faceAreaPair;
|
|
nCellsInCoarsestLevel 10;
|
|
mergeLevels 1;
|
|
}
|
|
"U|k|epsilon|omega"
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-8;
|
|
relTol 0.1;
|
|
nSweeps 1;
|
|
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
nNonOrthoCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
p 0.3;
|
|
}
|
|
equations
|
|
{
|
|
U 0.7;
|
|
k 0.7;
|
|
epsilon 0.7;
|
|
omega 0.7;
|
|
}
|
|
}
|
|
|
|
fieldBounds
|
|
{
|
|
U 500;
|
|
p -5e4 5e4;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|