Commit 7be9bb61 authored by Henry Weller's avatar Henry Weller
Browse files

tutorials/incompressible/SRFSimpleFoam/mixer: Improved case setup and schemes

parent 35ed4853
......@@ -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
{
......
......@@ -28,7 +28,8 @@ boundaryField
}
outlet
{
type zeroGradient;
type inletOutlet;
inletValue uniform 14.855;
}
innerWall
{
......
......@@ -28,7 +28,8 @@ boundaryField
}
outlet
{
type zeroGradient;
type inletOutlet;
inletValue uniform 0.375;
}
innerWall
{
......
......@@ -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
......
......@@ -22,7 +22,7 @@ axis (0 0 1);
rpmCoeffs
{
rpm 5000;
rpm 1000;
}
......
......@@ -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
......
......@@ -29,7 +29,7 @@ solvers
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-05;
tolerance 1e-6;
relTol 0.1;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment