mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
To support these changes the need for "Sp" corrections on div-terms has been eliminated by introducing a "bounded" convection scheme which subtracts the Sp term from the selected scheme. The equivalent will be needed for the ddt term. A warning message is generated for steady-state solvers in which the "bounded" scheme is not selected for the convection terms.
53 lines
1.3 KiB
C++
53 lines
1.3 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 dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
"p.*"
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
|
|
"U.*"
|
|
{
|
|
$p;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
}
|
|
|
|
"rho.*"
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 2;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|