diff --git a/tutorials/incompressible/SRFSimpleFoam/mixer/0/Urel b/tutorials/incompressible/SRFSimpleFoam/mixer/0/Urel index 4ed9d6d410..c5a14c7e8c 100644 --- a/tutorials/incompressible/SRFSimpleFoam/mixer/0/Urel +++ b/tutorials/incompressible/SRFSimpleFoam/mixer/0/Urel @@ -17,7 +17,7 @@ FoamFile dimensions [0 1 -1 0 0 0 0]; -internalField uniform (0 0 0); +internalField uniform (0 0 -10); boundaryField { @@ -30,7 +30,8 @@ boundaryField } outlet { - type zeroGradient; + type pressureInletOutletVelocity; + value $internalField; } innerWall { diff --git a/tutorials/incompressible/SRFSimpleFoam/mixer/0/epsilon b/tutorials/incompressible/SRFSimpleFoam/mixer/0/epsilon index c86f27af06..79bb0f4ba8 100644 --- a/tutorials/incompressible/SRFSimpleFoam/mixer/0/epsilon +++ b/tutorials/incompressible/SRFSimpleFoam/mixer/0/epsilon @@ -28,7 +28,8 @@ boundaryField } outlet { - type zeroGradient; + type inletOutlet; + inletValue uniform 14.855; } innerWall { diff --git a/tutorials/incompressible/SRFSimpleFoam/mixer/0/k b/tutorials/incompressible/SRFSimpleFoam/mixer/0/k index 1abbc25b71..550261b194 100644 --- a/tutorials/incompressible/SRFSimpleFoam/mixer/0/k +++ b/tutorials/incompressible/SRFSimpleFoam/mixer/0/k @@ -28,7 +28,8 @@ boundaryField } outlet { - type zeroGradient; + type inletOutlet; + inletValue uniform 0.375; } innerWall { diff --git a/tutorials/incompressible/SRFSimpleFoam/mixer/0/omega b/tutorials/incompressible/SRFSimpleFoam/mixer/0/omega index 21dc2662df..323e4ed2d3 100644 --- a/tutorials/incompressible/SRFSimpleFoam/mixer/0/omega +++ b/tutorials/incompressible/SRFSimpleFoam/mixer/0/omega @@ -28,18 +28,17 @@ boundaryField } outlet { - type zeroGradient; + type inletOutlet; + inletValue uniform 3.5; } innerWall { type omegaWallFunction; - U Urel; value uniform 3.5; } outerWall { type omegaWallFunction; - U Urel; value uniform 3.5; } cyclic_half0 diff --git a/tutorials/incompressible/SRFSimpleFoam/mixer/constant/SRFProperties b/tutorials/incompressible/SRFSimpleFoam/mixer/constant/SRFProperties index b62212066e..8cd31e33c8 100644 --- a/tutorials/incompressible/SRFSimpleFoam/mixer/constant/SRFProperties +++ b/tutorials/incompressible/SRFSimpleFoam/mixer/constant/SRFProperties @@ -22,7 +22,7 @@ axis (0 0 1); rpmCoeffs { - rpm 5000; + rpm 1000; } diff --git a/tutorials/incompressible/SRFSimpleFoam/mixer/system/fvSchemes b/tutorials/incompressible/SRFSimpleFoam/mixer/system/fvSchemes index efb06e0f40..69e1612784 100644 --- a/tutorials/incompressible/SRFSimpleFoam/mixer/system/fvSchemes +++ b/tutorials/incompressible/SRFSimpleFoam/mixer/system/fvSchemes @@ -23,12 +23,13 @@ ddtSchemes gradSchemes { default Gauss linear; + limited cellLimited Gauss linear 1; } divSchemes { default none; - div(phi,Urel) bounded Gauss upwind; + div(phi,Urel) bounded Gauss linearUpwind limited; div(phi,k) bounded Gauss upwind; div(phi,epsilon) bounded Gauss upwind; div(phi,omega) bounded Gauss upwind; @@ -40,13 +41,12 @@ divSchemes laplacianSchemes { - default Gauss linear corrected; + default Gauss linear corrected; } interpolationSchemes { default linear; - interpolate(Urel) linear; } snGradSchemes diff --git a/tutorials/incompressible/SRFSimpleFoam/mixer/system/fvSolution b/tutorials/incompressible/SRFSimpleFoam/mixer/system/fvSolution index e092956f32..5a22e0e39c 100644 --- a/tutorials/incompressible/SRFSimpleFoam/mixer/system/fvSolution +++ b/tutorials/incompressible/SRFSimpleFoam/mixer/system/fvSolution @@ -29,7 +29,7 @@ solvers { solver smoothSolver; smoother symGaussSeidel; - tolerance 1e-05; + tolerance 1e-6; relTol 0.1; } }