diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/R b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/R index b1342a670..da70ac742 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/R +++ b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/R @@ -51,6 +51,7 @@ boundaryField type zeroGradient; } + // Note: patch merged with lowerWallInterface - zero size interface { type zeroGradient; diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/U b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/U index 3ce45b78d..2cac14bf7 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/U +++ b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/U @@ -16,7 +16,7 @@ FoamFile dimensions [0 1 -1 0 0 0 0]; -internalField uniform (0 0 0); +internalField uniform (10 0 0); boundaryField { @@ -55,9 +55,11 @@ boundaryField value uniform (0 0 0); } + // Note: patch merged with lowerWallInterface - zero size interface { - type zeroGradient; + type fixedValue; + value uniform (0 0 0); } defaultFaces diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/epsilon b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/epsilon index 7e5b09a64..3465f7a44 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/epsilon +++ b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/epsilon @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -25,37 +26,50 @@ boundaryField type fixedValue; value uniform 14.855; } - outlet { type zeroGradient; } - upperWall { - type zeroGradient; + type epsilonWallFunction; + refValue uniform 0; + value uniform 14.855; + Cmu 0.09; + kappa 0.41; + E 9.8; } - lowerWall { - type zeroGradient; + type epsilonWallFunction; + refValue uniform 0; + value uniform 14.855; + Cmu 0.09; + kappa 0.41; + E 9.8; } - - lowerWallInlet - { - type zeroGradient; - } - lowerWallInterface { - type zeroGradient; + type epsilonWallFunction; + refValue uniform 0; + value uniform 14.855; + Cmu 0.09; + kappa 0.41; + E 9.8; + } + lowerWallInlet + { + type epsilonWallFunction; + refValue uniform 0; + value uniform 14.855; + Cmu 0.09; + kappa 0.41; + E 9.8; } - interface { type zeroGradient; } - defaultFaces { type empty; diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/k b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/k index e2d43ab1f..afb01104b 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/k +++ b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/k @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -25,37 +26,34 @@ boundaryField type fixedValue; value uniform 0.375; } - outlet { type zeroGradient; } - upperWall { - type zeroGradient; + type kqRWallFunction; + value uniform 0.375; } - lowerWall { - type zeroGradient; + type kqRWallFunction; + value uniform 0.375; } - - lowerWallInlet - { - type zeroGradient; - } - lowerWallInterface { - type zeroGradient; + type kqRWallFunction; + value uniform 0.375; + } + lowerWallInlet + { + type kqRWallFunction; + value uniform 0.375; } - interface { type zeroGradient; } - defaultFaces { type empty; diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/nuTilda b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/nuTilda index a8d5636d6..f5d6518eb 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/nuTilda +++ b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/nuTilda @@ -51,6 +51,7 @@ boundaryField type zeroGradient; } + // Note: patch merged with lowerWallInterface - zero size interface { type zeroGradient; diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/nut b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/nut new file mode 100644 index 000000000..5f377656f --- /dev/null +++ b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/nut @@ -0,0 +1,78 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 4.0 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object nut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 2 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + inlet + { + type calculated; + value uniform 0; + } + outlet + { + type calculated; + value uniform 0; + } + upperWall + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + lowerWall + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + lowerWallInterface + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + lowerWallInlet + { + type nutWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } + interface + { + type calculated; + value nonuniform 0(); + } + defaultFaces + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/p b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/p index 26fc95623..2720de369 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/p +++ b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/0/p @@ -51,6 +51,7 @@ boundaryField type zeroGradient; } + // Note: patch merged with lowerWallInterface - zero size interface { type zeroGradient; diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/fvSolution b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/fvSolution deleted file mode 100644 index c5f834384..000000000 --- a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/fvSolution +++ /dev/null @@ -1,114 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | foam-extend: Open Source CFD | -| \\ / O peration | Version: 4.0 | -| \\ / A nd | Web: http://www.foam-extend.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object fvSolution; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p PCG - { - preconditioner - { - type DIC; - } - - tolerance 1e-06; - relTol 0.01; - minIter 0; - maxIter 200; - }; - - U BiCGStab - { - preconditioner - { - type DILU; - } - - tolerance 1e-05; - relTol 0.1; - minIter 0; - maxIter 200; - }; - - k BiCGStab - { - preconditioner - { - type DILU; - } - - tolerance 1e-05; - relTol 0.1; - minIter 0; - maxIter 200; - }; - - epsilon BiCGStab - { - preconditioner - { - type DILU; - } - - tolerance 1e-05; - relTol 0.1; - minIter 0; - maxIter 200; - }; - - R BiCGStab - { - preconditioner - { - type DILU; - } - - tolerance 1e-05; - relTol 0.1; - minIter 0; - maxIter 200; - }; - - nuTilda BiCGStab - { - preconditioner - { - type DILU; - } - - tolerance 1e-05; - relTol 0.1; - minIter 0; - maxIter 200; - }; -} - -SIMPLE -{ - nNonOrthogonalCorrectors 0; -} - -relaxationFactors -{ - p 0.3; - U 0.7; - k 0.7; - epsilon 0.7; - R 0.7; - nuTilda 0.7; -} - - -// ************************************************************************* // diff --git a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/system/fvSolution b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/system/fvSolution index ea42acaf1..98aaf503d 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/system/fvSolution +++ b/tutorials/incompressible/simpleFoam/pitzDaily3Blocks/system/fvSolution @@ -18,64 +18,64 @@ solvers { p { - solver PCG; - preconditioner DIC; + solver CG; + preconditioner Cholesky; minIter 0; maxIter 2000; tolerance 1e-06; relTol 0.01; - }; + } U { solver BiCGStab; - preconditioner DILU; + preconditioner ILU0; minIter 0; maxIter 500; tolerance 1e-05; relTol 0.1; - }; + } k { solver BiCGStab; - preconditioner DILU; + preconditioner ILU0; minIter 0; maxIter 500; tolerance 1e-05; relTol 0.1; - }; - epsilon BiCGStab + } + epsilon { solver BiCGStab; - preconditioner DILU; + preconditioner ILU0; minIter 0; maxIter 500; tolerance 1e-05; relTol 0.1; - }; - R BiCGStab + } + R { solver BiCGStab; - preconditioner DILU; + preconditioner ILU0; minIter 0; maxIter 500; tolerance 1e-05; relTol 0.1; - }; - nuTilda BiCGStab + } + nuTilda { solver BiCGStab; - preconditioner DILU; + preconditioner ILU0; minIter 0; maxIter 500; tolerance 1e-05; relTol 0.1; - }; + } } SIMPLE