67ab0b5abd
- in FOAM library updated containers backported PackedBoolList, hashedWordList, nullObject, wordRe, backported functions to backported int32 support backported tableReaders backported Function1, TimeFunction1 backported dynamicCode (for codedBCs, ...) -- needs to be mapped out advanced error macros (FatalIOErrorInFunction, ...) -- needs to be mapped out backported IOobject::MUST_READ_IF_MODIFIED and added IOobject::READ_IF_PRESENT_IF_MODIFIED (only in FO) - in postProcessing backported IO FOs (partialWrite, removeRegisteredObject, writeDictionary, writeRegisteredObject) backported field FOs (fieldCoordinateSystemTransform, fieldValues, nearWallFields, processorField, readFields, regionSizeDistribution, streamLine, wallBoundedStreamLine) backported fvTools FOs (calcFvcDiv, calcFvcGrad, calcMag) backported jobControl FOs (abortCalculation) backported utilities FOs (ourantNo, Lambda2, Peclet, Q, codedFunctionObject, pressureTools, residuals, scalarTransport, setTimeStep, timeActivatedFileUpdate, turbulenceFields, vorticity, wallShearStress)
116 lines
2.8 KiB
C++
116 lines
2.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.0 |
|
|
| \\ / 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;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|