Files
OpenFOAM-12/tutorials/modules/shockFluid/shockTube/system/fvSolution
Henry Weller 513578ebd0 tutorials/modules/shockFluid/shockTube: Apply nOuterCorrectors
applying 2 outer correctors allows an increase in time-step from 1e-6 to 5e-6
without introducing numerical wiggles in the solution.
2023-01-25 15:53:04 +00:00

48 lines
1.0 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
"(rho|rhoU|rhoE).*"
{
solver diagonal;
}
"U.*"
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-09;
relTol 0.01;
}
"e.*"
{
$U;
tolerance 1e-10;
relTol 0;
}
}
PIMPLE
{
nOuterCorrectors 2;
}
// ************************************************************************* //