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. interMixingFoam, multiphaseInterFoam: Updated for changes to interFoam
118 lines
2.7 KiB
C++
118 lines
2.7 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;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
"alpha.water.*"
|
|
{
|
|
nAlphaCorr 3;
|
|
nAlphaSubCycles 1;
|
|
cAlpha 1;
|
|
|
|
MULESCorr yes;
|
|
nLimiterIter 5;
|
|
alphaApplyPrevCorr yes;
|
|
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
}
|
|
|
|
"pcorr.*"
|
|
{
|
|
solver PCG;
|
|
preconditioner
|
|
{
|
|
preconditioner GAMG;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
smoother DICGaussSeidel;
|
|
cacheAgglomeration no;
|
|
}
|
|
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
maxIter 100;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-8;
|
|
relTol 0.01;
|
|
smoother DIC;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
solver PCG;
|
|
preconditioner
|
|
{
|
|
preconditioner GAMG;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
nVcycles 2;
|
|
smoother DICGaussSeidel;
|
|
nPreSweeps 2;
|
|
}
|
|
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
maxIter 20;
|
|
}
|
|
|
|
"(U|k|epsilon)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0.1;
|
|
nSweeps 1;
|
|
}
|
|
|
|
"(U|k|epsilon)Final"
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
nSweeps 1;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor no;
|
|
nOuterCorrectors 3;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
correctPhi yes;
|
|
moveMeshOuterCorrectors yes;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
".*" 1;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|