to handle the size of bubbles created by boiling. To be used in conjunction with the alphatWallBoilingWallFunction boundary condition. The IATE variant of the wallBoiling tutorial case is provided to demonstrate the functionality: tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/wallBoilingIATE
114 lines
2.5 KiB
C++
114 lines
2.5 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.*"
|
|
{
|
|
nAlphaCorr 1;
|
|
nAlphaSubCycles 3;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
smoother DIC;
|
|
tolerance 1e-8;
|
|
relTol 0.01;
|
|
maxIter 100;
|
|
minIter 2;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
relTol 0;
|
|
}
|
|
|
|
"U.*"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
minIter 1;
|
|
}
|
|
|
|
"(e|h).*"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-12;
|
|
relTol 0.001;
|
|
minIter 1;
|
|
maxIter 20;
|
|
}
|
|
|
|
"(k|epsilon|Theta).*"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
minIter 1;
|
|
}
|
|
|
|
"kappai.gas.*"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
}
|
|
|
|
Yi
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
minIter 1;
|
|
residualAlpha 1e-8;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 6;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
nEnergyCorrectors 2;
|
|
faceMomentum yes;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
iDmdt 0.1;
|
|
}
|
|
|
|
equations
|
|
{
|
|
".*" 1;
|
|
"h.*" 0.3;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|