settlingFoam: improved handling of the turbulence and wall-functions

This commit is contained in:
Henry
2012-02-17 12:46:03 +00:00
parent f71567a71d
commit d0795f9625
25 changed files with 103 additions and 106 deletions

View File

@ -23,12 +23,13 @@ boundaryField
inlet
{
type fixedValue;
value uniform (0.0191 0 0);
value $internalField;
}
outlet
{
type zeroGradient;
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
bottomWall

View File

@ -23,12 +23,13 @@ boundaryField
inlet
{
type fixedValue;
value uniform 0.001;
value $internalField;
}
outlet
{
type zeroGradient;
type inletOutlet;
inletValue $internalField;
}
bottomWall

View File

@ -23,12 +23,13 @@ boundaryField
inlet
{
type fixedValue;
value uniform 1.50919e-06;
value $internalField;
}
outlet
{
type zeroGradient;
type inletOutlet;
inletValue $internalField;
}
bottomWall

View File

@ -23,12 +23,13 @@ boundaryField
inlet
{
type fixedValue;
value uniform 0.00015;
value $internalField;
}
outlet
{
type zeroGradient;
type inletOutlet;
inletValue $internalField;
}
bottomWall

View File

@ -22,7 +22,8 @@ boundaryField
{
inlet
{
type zeroGradient;
type buoyantPressure;
value uniform 0;
}
outlet
@ -39,7 +40,8 @@ boundaryField
endWall
{
type zeroGradient;
type buoyantPressure;
value uniform 0;
}
top

View File

@ -63,7 +63,7 @@ boundary
}
bottomWall
{
type patch;
type wall;
faces
(
(0 1 7 6)

View File

@ -31,7 +31,7 @@ FoamFile
}
bottomWall
{
type patch;
type wall;
nFaces 200;
startFace 15804;
}

View File

@ -29,6 +29,8 @@ yieldStressExponent yieldStressExponent [ 0 0 0 0 0 0 0 ] 1050.8;
yieldStressOffset yieldStressOffset [ 0 0 0 0 0 0 0 ] 0;
muMax muMax [ 1 -1 -1 0 0 0 0 ] 10.0;
rhoc rhoc [ 1 -3 0 0 0 0 0 ] 996;
rhod rhod [ 1 -3 0 0 0 0 0 ] 1996;

View File

@ -27,7 +27,7 @@ endTime 6400;
deltaT 0.1;
writeControl runTime;
writeControl adjustableRunTime;
writeInterval 20;
@ -45,4 +45,10 @@ timePrecision 6;
runTimeModifiable yes;
adjustTimeStep on;
maxCo 0.5;
maxDeltaT 1;
// ************************************************************************* //

View File

@ -28,9 +28,9 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) Gauss limitedLinearV 1;
div(phi,k) Gauss limitedLinear 1;
div(phi,epsilon) Gauss limitedLinear 1;
div(phi,U) Gauss linearUpwind grad(U);
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phiAlpha,Alpha) Gauss limitedLinear01 1;
div(phiVdj,Vdj) Gauss linear;
}

View File

@ -36,14 +36,14 @@ solvers
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-07;
tolerance 1e-8;
relTol 0.1;
}
"(U|Alpha|k|epsilon)Final"
{
$k;
tolerance 1e-07;
tolerance 1e-8;
relTol 0;
}
@ -51,21 +51,21 @@ solvers
{
solver PCG;
preconditioner DIC;
tolerance 1e-07;
tolerance 1e-8;
relTol 0.1;
}
rhoFinal
{
$rho;
tolerance 1e-07;
tolerance 1e-8;
relTol 0;
}
}
PIMPLE
{
nCorrectors 2;
nCorrectors 3;
nNonOrthogonalCorrectors 0;
}
@ -76,6 +76,7 @@ relaxationFactors
}
equations
{
"Alpha.*" 1;
"U.*" 1;
"k.*" 1;
"epsilon.*" 1;

View File

@ -29,6 +29,8 @@ yieldStressExponent yieldStressExponent [ 0 0 0 0 0 0 0 ] 95.25;
yieldStressOffset yieldStressOffset [ 0 0 0 0 0 0 0 ] 0;
muMax muMax [ 1 -1 -1 0 0 0 0 ] 10.0;
rhoc rhoc [ 1 -3 0 0 0 0 0 ] 1000;
rhod rhod [ 1 -3 0 0 0 0 0 ] 1042;

View File

@ -76,6 +76,7 @@ relaxationFactors
}
equations
{
"Alpha.*" 1;
"U.*" 1;
"k.*" 1;
"epsilon.*" 1;