nLimiterIter: Number of iterations during limiter construction 3 (default) is sufficient for 3D simulations with a Courant number 0.5 or so For larger Courant numbers larger values may be needed but this is only relevant for IMULES and CMULES smoothLimiter: Coefficient to smooth the limiter to avoid "diamond" staggering patters seen in regions of low particle phase-fraction in fluidised-bed simulations. The default is 0 as it is not needed for all simulations. A value of 0.1 is appropriate for fluidised-bed simulations. The useful range is 0 -> 0.5. Values larger than 0.5 may cause excessive smearing of the solution.
80 lines
1.8 KiB
C++
80 lines
1.8 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
|
|
{
|
|
"alpha.*"
|
|
{
|
|
nAlphaSubCycles 1;
|
|
cAlpha 1;
|
|
}
|
|
|
|
"pcorr.*"
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-3;
|
|
relTol 0;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-07;
|
|
relTol 0.05;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-07;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|alpha)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
correctPhi yes;
|
|
momentumPredictor no;
|
|
nOuterCorrectors 2;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
"U.*" 1;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|