mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Update of overRhoPimpleDyMFoam and overInterDyMFoam solvers. Adding corresponding tutorials with best possible settings The main effort was put on reducing pressure spikes as the stencil change with hole cells on the background mesh.
108 lines
2.1 KiB
C++
108 lines
2.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1806 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
cellDisplacement
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
maxIter 100;
|
|
}
|
|
|
|
"(rho|h)"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-8;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(rho|h)Final"
|
|
{
|
|
$rho;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
}
|
|
|
|
p
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-11;
|
|
relTol 0.01;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
relTol 0;
|
|
}
|
|
|
|
pcorr
|
|
{
|
|
$pFinal;
|
|
}
|
|
|
|
pcorrFinal
|
|
{
|
|
$pcorr;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|epsilon)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|epsilon)Final"
|
|
{
|
|
$U;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor false;
|
|
correctPhi true;
|
|
nOuterCorrectors 1;
|
|
nCorrectors 4;
|
|
nNonOrthogonalCorrectors 0;
|
|
ddtCorr false;
|
|
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
}
|
|
equations
|
|
{
|
|
".*" 1;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|