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.
118 lines
2.4 KiB
C++
118 lines
2.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / 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;
|
|
}
|
|
|
|
"alpha.water.*"
|
|
{
|
|
nAlphaCorr 3;
|
|
nAlphaSubCycles 2;
|
|
cAlpha 1;
|
|
icAlpha 0;
|
|
scAlpha 0;
|
|
|
|
MULESCorr yes;
|
|
nLimiterIter 5;
|
|
alphaApplyPrevCorr no;
|
|
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-12;
|
|
relTol 0.01;
|
|
maxIter 500;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
relTol 0;
|
|
}
|
|
|
|
pcorr
|
|
{
|
|
$p;
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
}
|
|
|
|
pcorrFinal
|
|
{
|
|
$pcorr;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|epsilon)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0.01;
|
|
maxIter 200;
|
|
minIter 1;
|
|
}
|
|
|
|
"(U|k|epsilon)Final"
|
|
{
|
|
$U;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor no;
|
|
correctPhi no;
|
|
nOuterCorrectors 2;
|
|
nCorrectors 3;
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
ddtCorr true;
|
|
|
|
pRefPoint (0.0002 0.0099 0.001);
|
|
pRefValue 0.0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
}
|
|
equations
|
|
{
|
|
".*" 1;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|