This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/system/fvSolution
2016-06-21 15:04:21 +02:00

113 lines
2.5 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 | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
// Solver for the U equation
U PCG
{
preconditioner
{
preconditioner DIC;
}
minIter 0;
maxIter 2000;
tolerance 1e-06;
relTol 0;
};
// Solver for the k equation
k BiCGStab
{
preconditioner
{
preconditioner DILU;
}
minIter 0;
maxIter 500;
tolerance 1e-06;
relTol 0;
};
// Solver for the epsilon equation
epsilon BiCGStab
{
preconditioner
{
preconditioner DILU;
}
minIter 0;
maxIter 500;
tolerance 1e-06;
relTol 0;
};
// Solver for the R equation
R BiCGStab
{
preconditioner
{
preconditioner DILU;
}
minIter 0;
maxIter 500;
tolerance 1e-06;
relTol 0;
};
// Solver for the nuTilda equation
nuTilda BiCGStab
{
preconditioner
{
preconditioner DILU;
}
minIter 0;
maxIter 500;
tolerance 1e-06;
relTol 0;
};
}
PISO
{
// Number of PISO correctors
nCorrectors 2;
// Number of non-orthogonal correctors
nNonOrthogonalCorrectors 0;
// momentumPredictor?
momentumPredictor yes;
// fluxGradp?
fluxGradp no;
}
relaxationFactors
{
// U
U 0.5;
// k
k 0.7;
// epsilon
epsilon 0.7;
// R
R 0.7;
// nuTilda
nuTilda 0.7;
}
// ************************************************************************* //