e.g. in tutorials/compressible/rhoPimpleFoam/ras/angledDuctLTS PIMPLE { momentumPredictor yes; transonic no; nOuterCorrectors 50; nCorrectors 1; nNonOrthogonalCorrectors 0; consistent yes; rhoMin 0.5; rhoMax 2.0; residualControl { "(U|k|epsilon)" { relTol 0; tolerance 0.0001; } } turbOnFinalIterOnly off; } relaxationFactors { fields { "p.*" 0.9; "rho.*" 1; } equations { "U.*" 0.9; "h.*" 0.7; "(k|epsilon|omega).*" 0.8; } }
63 lines
1.7 KiB
C++
63 lines
1.7 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 polyBoundaryMesh;
|
|
location "constant/polyMesh";
|
|
object boundary;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
6
|
|
(
|
|
front
|
|
{
|
|
type wall;
|
|
inGroups 1(wall);
|
|
nFaces 700;
|
|
startFace 63400;
|
|
}
|
|
back
|
|
{
|
|
type wall;
|
|
inGroups 1(wall);
|
|
nFaces 700;
|
|
startFace 64100;
|
|
}
|
|
walls
|
|
{
|
|
type wall;
|
|
inGroups 1(wall);
|
|
nFaces 1400;
|
|
startFace 64800;
|
|
}
|
|
porosityWall
|
|
{
|
|
type wall;
|
|
inGroups 1(wall);
|
|
nFaces 1600;
|
|
startFace 66200;
|
|
}
|
|
inlet
|
|
{
|
|
type patch;
|
|
nFaces 400;
|
|
startFace 67800;
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
nFaces 400;
|
|
startFace 68200;
|
|
}
|
|
)
|
|
|
|
// ************************************************************************* //
|