and replaced interDyMFoam with a script which reports this change. The interDyMFoam tutorials have been moved into the interFoam directory. This change is one of a set of developments to merge dynamic mesh functionality into the standard solvers to improve consistency, usability, flexibility and maintainability of these solvers. Henry G. Weller CFD Direct Ltd.
105 lines
2.1 KiB
C++
105 lines
2.1 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.water.*"
|
|
{
|
|
nAlphaCorr 3;
|
|
nAlphaSubCycles 1;
|
|
cAlpha 1;
|
|
icAlpha 0;
|
|
|
|
MULESCorr yes;
|
|
nLimiterIter 15;
|
|
alphaApplyPrevCorr yes;
|
|
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-10;
|
|
relTol 0;
|
|
minIter 1;
|
|
}
|
|
|
|
"pcorr.*"
|
|
{
|
|
solver GAMG;
|
|
|
|
smoother DIC;
|
|
|
|
tolerance 1e-3;
|
|
relTol 0;
|
|
};
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
|
|
smoother DIC;
|
|
|
|
tolerance 5e-8;
|
|
relTol 0;
|
|
};
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|omega).*"
|
|
{
|
|
solver smoothSolver;
|
|
|
|
smoother symGaussSeidel;
|
|
nSweeps 1;
|
|
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
minIter 1;
|
|
};
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor no;
|
|
|
|
nOuterCorrectors 3;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
correctPhi yes;
|
|
moveMeshOuterCorrectors yes;
|
|
turbOnFinalIterOnly yes;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
".*" 1;
|
|
}
|
|
}
|
|
|
|
cache
|
|
{
|
|
grad(U);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|