diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/epsilon b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/epsilon index c7751ffc11831705bb249fe40f2357521c561b49..57a9ae537217d5a8376bf2ad89092674b0b12aa1 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/epsilon +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,40 +10,42 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; +dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 375; boundaryField { - left + left { type symmetryPlane; } - right + right { type symmetryPlane; } - top + top { type symmetryPlane; } - bottom + bottom { type symmetryPlane; } - frontAndBack + frontAndBack { type empty; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/k b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/k index a8d80dda8a30d24b8fd472d43841610d52e41696..603093e6e38418cd498fe3fe0485fce0bcb1a4fc 100644 --- a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/k +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,40 +10,42 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 1.5; boundaryField { - left + left { type symmetryPlane; } - right + right { type symmetryPlane; } - top + top { type symmetryPlane; } - bottom + bottom { type symmetryPlane; } - frontAndBack + frontAndBack { type empty; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/mut b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/mut new file mode 100644 index 0000000000000000000000000000000000000000..a9920120d019319b6b5bcc3e0ca728684970e2a0 --- /dev/null +++ b/tutorials/combustion/XiFoam/ras/moriyoshiHomogeneous/0/mut @@ -0,0 +1,51 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 1 -1 -1 0 0 0 0 ]; + +internalField uniform 0; + +boundaryField +{ + left + { + type symmetryPlane; + } + + right + { + type symmetryPlane; + } + + top + { + type symmetryPlane; + } + + bottom + { + type symmetryPlane; + } + + frontAndBack + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/R b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/R index f229e06765a80201beb1cdaf5c451d78e97c03f0..6d7f9a3db106f1323009644400e2b003cdc1d0bd 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/R +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/R @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,34 @@ FoamFile version 2.0; format ascii; class volSymmTensorField; + location "0"; object R; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; -internalField uniform (0 0 0 0 0 0); +internalField uniform ( 0 0 0 0 0 0 ); boundaryField { - movingWall + movingWall { - type zeroGradient; + type kQRWallFunction; + value uniform ( 0 0 0 0 0 0 ); } - fixedWalls + fixedWalls { - type zeroGradient; + type kQRWallFunction; + value uniform ( 0 0 0 0 0 0 ); } - frontAndBack + frontAndBack { type empty; } } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/epsilon b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/epsilon index b24ccfb3802fe4d844039522afaf26e6fed39fe7..1b7c6c0d70a42a55f17e2b579fa12cf5403e1412 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/epsilon +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,34 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; +dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 0.000765; boundaryField { - movingWall + movingWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } - fixedWalls + fixedWalls { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } - frontAndBack + frontAndBack { type empty; } } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/k b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/k index 5242962b3b24e867f6b6b8db4b0c278faee0a476..64ea0ca8fbd25e149a023c3c3ecee9af977197a8 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/k +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/k @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0.00325; @@ -24,13 +24,15 @@ boundaryField movingWall { type kQRWallFunction; - value uniform 0.00325; + value uniform 0; } + fixedWalls { type kQRWallFunction; - value uniform 0.00325; + value uniform 0; } + frontAndBack { type empty; diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/mut b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/mut index a0f4c473102445c3741b8324de193086abc82af1..3aaa8e77f82971aa58a9b96e84e20178a824085a 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/mut +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/mut @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [1 -1 -1 0 0 0 0]; +dimensions [ 1 -1 -1 0 0 0 0 ]; internalField uniform 0; @@ -26,11 +26,13 @@ boundaryField type mutWallFunction; value uniform 0; } + fixedWalls { type mutWallFunction; value uniform 0; } + frontAndBack { type empty; diff --git a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/omega b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/omega index b825b4913ae0eb79cdf93ea5c333ebc0a1013115..fa4f022f0140184baac96f3b5198908e796c1cf2 100644 --- a/tutorials/compressible/rhoPisoFoam/ras/cavity/0/omega +++ b/tutorials/compressible/rhoPisoFoam/ras/cavity/0/omega @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 0 -1 0 0 0 0]; +dimensions [ 0 0 -1 0 0 0 0 ]; internalField uniform 2.6; @@ -24,13 +24,15 @@ boundaryField movingWall { type omegaWallFunction; - value uniform 2.6; + value uniform 0; } + fixedWalls { type omegaWallFunction; - value uniform 2.6; + value uniform 0; } + frontAndBack { type empty; diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/epsilon b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/epsilon index ca6ec2ff0d794beb9ea394d4187d986b001eb4f2..13cfc84a0ec1f4c5046a0e4d04d0b7a446a7d611 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/epsilon +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/epsilon @@ -1,55 +1,64 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; + +dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 200; boundaryField { - front { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } + back { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } + wall { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } + porosityWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } inlet { type turbulentMixingLengthDissipationRateInlet; mixingLength 0.005; - value $internalField; + value uniform 200; } outlet { type inletOutlet; - inletValue $internalField; - value $internalField; + inletValue uniform 200; + value uniform 200; } - } + + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/k b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/k index c1cf0e833d52e74023d3b7d56d9c4ab4b9a8e2af..16c1e28fb894fe44a909cc4caa010fb591b74072 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/k +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/k @@ -1,55 +1,64 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; - format ascii; + format binary; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; + +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 1; boundaryField { - front { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } + back { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } + wall { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } + porosityWall { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } inlet { type turbulentIntensityKineticEnergyInlet; intensity 0.05; - value $internalField; + value uniform 1; } outlet { type inletOutlet; - inletValue $internalField; - value $internalField; + inletValue uniform 1; + value uniform 1; } - } + + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/mut b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/mut new file mode 100644 index 0000000000000000000000000000000000000000..264b3b4003162e2cdee003d31ef8cf4b6c68de37 --- /dev/null +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/0/mut @@ -0,0 +1,62 @@ +/*--------------------------------*- 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 binary; + class volScalarField; + location "0"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 1 -1 -1 0 0 0 0 ]; + +internalField uniform 0; + +boundaryField +{ + front + { + type mutWallFunction; + value uniform 0; + } + + back + { + type mutWallFunction; + value uniform 0; + } + + wall + { + type mutWallFunction; + value uniform 0; + } + + porosityWall + { + type mutWallFunction; + value uniform 0; + } + + inlet + { + type calculated; + value uniform 0; + } + + outlet + { + type calculated; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/epsilon b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/epsilon index 46a465314bba1bb27c4a20bfb95b5be3f44c9240..471f122da8e2a81955aac14f408a0fec3c7c19f7 100644 --- a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/epsilon +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,35 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; +dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 0.01; boundaryField { - floor + floor { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } - ceiling + ceiling { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } - fixedWalls + fixedWalls { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/k b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/k index 5485bd3e573f9738fce7a7bc2a8c39ac2ead9d57..e0c92b9c4f9463d1f90ff2ef32188125d092c301 100644 --- a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/k +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,30 +10,35 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0.1; boundaryField { - floor + floor { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } - ceiling + ceiling { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } - fixedWalls + fixedWalls { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/mut b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/mut new file mode 100644 index 0000000000000000000000000000000000000000..f78d7659f90151e17c9011c88f9c96806ca7bcaf --- /dev/null +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/0/mut @@ -0,0 +1,44 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 1 -1 -1 0 0 0 0 ]; + +internalField uniform 0; + +boundaryField +{ + floor + { + type mutWallFunction; + value uniform 0; + } + + ceiling + { + type mutWallFunction; + value uniform 0; + } + + fixedWalls + { + type mutWallFunction; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/epsilon b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/epsilon index 5f8de5792ef1c6b173fe42b97951d837a67e3f44..d9e8b1dc34ec630cae7baa8d5abde75ca596011b 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/epsilon +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,35 +10,41 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; +dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 0.01; boundaryField { - floor + floor { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } - ceiling + ceiling { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } - fixedWalls + fixedWalls { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } box { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/k b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/k index a7d2d3f4f0798f18ca28eaa5d052d652f4547a4b..0eb1a25c30942beaa043ec5811cde80ded559833 100644 --- a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/k +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,35 +10,41 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0.1; boundaryField { - floor + floor { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } - ceiling + ceiling { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } - fixedWalls + fixedWalls { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } box { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/mut b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/mut new file mode 100644 index 0000000000000000000000000000000000000000..c609cbf3d2c865212d20992980a9b59a349b9c68 --- /dev/null +++ b/tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom/0/mut @@ -0,0 +1,50 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 1 -1 -1 0 0 0 0 ]; + +internalField uniform 0; + +boundaryField +{ + box + { + type mutWallFunction; + value uniform 0; + } + + floor + { + type mutWallFunction; + value uniform 0; + } + + ceiling + { + type mutWallFunction; + value uniform 0; + } + + fixedWalls + { + type mutWallFunction; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/alphat b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/alphat new file mode 100644 index 0000000000000000000000000000000000000000..3a5286b6dbfcffb06d6a45c99fe29429f6cba062 --- /dev/null +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/alphat @@ -0,0 +1,67 @@ +/*--------------------------------*- 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 volScalarField; + location "0.001"; + object alphat; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + maxY + { + type alphatWallFunction; + value uniform 0; + } + minX + { + type calculated; + value uniform 0; + } + maxX + { + type calculated; + value uniform 0; + } + minZ + { + type alphatWallFunction; + value uniform 0; + } + maxZ + { + type alphatWallFunction; + value uniform 0; + } + topAir_to_leftSolid + { + type calculated; + value uniform 0; + } + topAir_to_heater + { + type calculated; + value uniform 0; + } + topAir_to_rightSolid + { + type calculated; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/epsilon b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/epsilon index 4f3ffc986ea9c166950c1b4a693ae6b37fea40aa..bb298dd95dd506ba55c7acde5da6e7a1b8f41bcb 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/epsilon +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0.001"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,6 +21,11 @@ internalField uniform 0.01; boundaryField { + maxY + { + type epsilonWallFunction; + value uniform 0.01; + } minX { type fixedValue; @@ -29,24 +35,29 @@ boundaryField { type zeroGradient; } - - minY + minZ { - type zeroGradient; + type epsilonWallFunction; + value uniform 0.01; } - maxY + maxZ + { + type epsilonWallFunction; + value uniform 0.01; + } + topAir_to_leftSolid { type zeroGradient; } - - minZ + topAir_to_heater { type zeroGradient; } - maxZ + topAir_to_rightSolid { type zeroGradient; } } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/k b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/k index 7ac77f7e69aeb0bd0efaddd0c3f0a9a1d74e67fc..e4db2c837d0bd8d76ad06e085cf27900d8308e9e 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/k +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0.001"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -20,6 +21,11 @@ internalField uniform 0.1; boundaryField { + maxY + { + type kQRWallFunction; + value uniform 0.1; + } minX { type fixedValue; @@ -29,24 +35,29 @@ boundaryField { type zeroGradient; } - - minY + minZ { - type zeroGradient; + type kQRWallFunction; + value uniform 0.1; } - maxY + maxZ + { + type kQRWallFunction; + value uniform 0.1; + } + topAir_to_leftSolid { type zeroGradient; } - - minZ + topAir_to_heater { type zeroGradient; } - maxZ + topAir_to_rightSolid { type zeroGradient; } } + // ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/mut b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/mut new file mode 100644 index 0000000000000000000000000000000000000000..ece854fd06176af32e1d06503c0c3461c1a3b77c --- /dev/null +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/0/mut @@ -0,0 +1,67 @@ +/*--------------------------------*- 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 volScalarField; + location "0.001"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + maxY + { + type mutWallFunction; + value uniform 0; + } + minX + { + type calculated; + value uniform 0; + } + maxX + { + type calculated; + value uniform 0; + } + minZ + { + type mutWallFunction; + value uniform 0; + } + maxZ + { + type mutWallFunction; + value uniform 0; + } + topAir_to_leftSolid + { + type calculated; + value uniform 0; + } + topAir_to_heater + { + type calculated; + value uniform 0; + } + topAir_to_rightSolid + { + type calculated; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun index e698fc906af01916284db58338ac255c62b427b5..f4374b6a93079b3971e9000714616bab0a1a0685 100755 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun @@ -1,4 +1,5 @@ #!/bin/sh + # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions @@ -20,7 +21,7 @@ done # remove fluid fields from solid regions (important for post-processing) for i in heater leftSolid rightSolid do - rm -f 0*/$i/{epsilon,k,p,pd,U} + rm -f 0*/$i/{mut,alphat,epsilon,k,p,pd,U} done # remove solid fields from fluid regions (important for post-processing) diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/topAir/turbulenceProperties b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/topAir/turbulenceProperties new file mode 120000 index 0000000000000000000000000000000000000000..435bf46f771a1525b3b0358a7cb3aea5243f7b91 --- /dev/null +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/topAir/turbulenceProperties @@ -0,0 +1 @@ +../bottomAir/turbulenceProperties \ No newline at end of file diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/README b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/README new file mode 100644 index 0000000000000000000000000000000000000000..fd464e464c710813fac07db7d9ee31278ad58094 --- /dev/null +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/README @@ -0,0 +1,3 @@ +fvSchemes and fvSolution are not used here +- added so that pre-processing activities can proceed + diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k.old b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/fvSchemes similarity index 69% rename from tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k.old rename to tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/fvSchemes index 1130003c3b067e123df3d3d97a094acc387e6456..e8078b2b209d98dacf01c6263cf26202d00cd1e8 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/k.old +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/fvSchemes @@ -9,31 +9,10 @@ FoamFile { version 2.0; format ascii; - class volScalarField; - location "0"; - object k.old; + class dictionary; + object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; - -internalField uniform 0.1; - -boundaryField -{ - floor - { - type zeroGradient; - } - ceiling - { - type zeroGradient; - } - fixedWalls - { - type zeroGradient; - } -} - // ************************************************************************* // diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon.old b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/fvSolution similarity index 68% rename from tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon.old rename to tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/fvSolution index d7f61316978a5d62e73f55f6dbf948d957a00e95..78262ec2df008422f0817dc264bc8dab539bf568 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/0/epsilon.old +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/fvSolution @@ -9,31 +9,9 @@ FoamFile { version 2.0; format ascii; - class volScalarField; - location "0"; - object epsilon.old; + class dictionary; + object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; - -internalField uniform 0.01; - -boundaryField -{ - floor - { - type zeroGradient; - } - ceiling - { - type zeroGradient; - } - fixedWalls - { - type zeroGradient; - } -} - - // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/epsilon b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/epsilon index 54a2ee8baa368c6af458c30b2595706d911de939..ddb0f60d60f37746da6c73e25569c0f6f3d823e9 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/epsilon +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; +dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 20; @@ -22,12 +23,14 @@ boundaryField { rotor { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } stator { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } front @@ -41,4 +44,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/k b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/k index 3a979f12e462520d386473a0e8aae8fd1f551fb9..e78fcca795300548ec365c43472256d7c8f1ae8c 100644 --- a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/k +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 1; @@ -22,12 +23,14 @@ boundaryField { rotor { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } stator { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } front @@ -41,4 +44,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/nut b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/nut new file mode 100644 index 0000000000000000000000000000000000000000..6a0f01dc75eee067bd8fb88c07cee3511851897d --- /dev/null +++ b/tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/0/nut @@ -0,0 +1,48 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object nut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 0 2 -1 0 0 0 0 ]; + +internalField uniform 0; + +boundaryField +{ + rotor + { + type nutWallFunction; + value uniform 0; + } + + stator + { + type nutWallFunction; + value uniform 0; + } + + front + { + type empty; + } + + back + { + type empty; + } +} + + +// ************************************************************************* // diff --git a/tutorials/incompressible/pimpleFoam/t-junction/0/epsilon b/tutorials/incompressible/pimpleFoam/t-junction/0/epsilon index 8e5b3e553d196c92fbfd8148146609c1e9b254ca..2c4cfab1c0ef7e56f4a23057641739d0ef5999e9 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/0/epsilon +++ b/tutorials/incompressible/pimpleFoam/t-junction/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; +dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 1; @@ -23,7 +24,7 @@ boundaryField inlet { type turbulentMixingLengthDissipationRateInlet; - mixingLength 0.01; // 1cm - half channel height + mixingLength 0.01; value uniform 1; } @@ -41,7 +42,8 @@ boundaryField defaultFaces { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } } diff --git a/tutorials/incompressible/pimpleFoam/t-junction/0/k b/tutorials/incompressible/pimpleFoam/t-junction/0/k index 35b2bd3ff9a83789500a9b5d2488c086f274ae0b..51c0ab7cd30397abad14e0c782189481316cb8c6 100644 --- a/tutorials/incompressible/pimpleFoam/t-junction/0/k +++ b/tutorials/incompressible/pimpleFoam/t-junction/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,11 +10,12 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 1; @@ -23,7 +24,7 @@ boundaryField inlet { type turbulentIntensityKineticEnergyInlet; - intensity 0.05; // 5% turbulence + intensity 0.05; value uniform 1; } @@ -41,8 +42,10 @@ boundaryField defaultFaces { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/pimpleFoam/t-junction/0/nut b/tutorials/incompressible/pimpleFoam/t-junction/0/nut new file mode 100644 index 0000000000000000000000000000000000000000..8a3ff85900475f27b1937494e4ff2d044f06894a --- /dev/null +++ b/tutorials/incompressible/pimpleFoam/t-junction/0/nut @@ -0,0 +1,50 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object nut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 0 2 -1 0 0 0 0 ]; + +internalField uniform 0; + +boundaryField +{ + inlet + { + type calculated; + value uniform 0; + } + + outlet1 + { + type calculated; + value uniform 0; + } + + outlet2 + { + type calculated; + value uniform 0; + } + + defaultFaces + { + type nutWallFunction; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/0/R b/tutorials/incompressible/pisoFoam/ras/cavity/0/R index f229e06765a80201beb1cdaf5c451d78e97c03f0..fec1a87fa5d49eea46b2b46fb93fb7e299a06594 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/0/R +++ b/tutorials/incompressible/pisoFoam/ras/cavity/0/R @@ -20,17 +20,17 @@ internalField uniform (0 0 0 0 0 0); boundaryField { - movingWall + movingWall { - type zeroGradient; + type kQRWallFunction; } - fixedWalls + fixedWalls { - type zeroGradient; + type kQRWallFunction; } - frontAndBack + frontAndBack { type empty; } diff --git a/tutorials/incompressible/simpleFoam/pitzDaily/0/R b/tutorials/incompressible/simpleFoam/pitzDaily/0/R index 6e399c9a75539a9918a558f7ec40b0edca903f22..f5e0a978209171573884c3be4be2096816e32df4 100644 --- a/tutorials/incompressible/simpleFoam/pitzDaily/0/R +++ b/tutorials/incompressible/simpleFoam/pitzDaily/0/R @@ -20,28 +20,28 @@ internalField uniform (0 0 0 0 0 0); boundaryField { - inlet + inlet { type fixedValue; value uniform (0 0 0 0 0 0); } - outlet + outlet { type zeroGradient; } - upperWall + upperWall { - type zeroGradient; + type kQRWallFunction; } - lowerWall + lowerWall { - type zeroGradient; + type kQRWallFunction; } - frontAndBack + frontAndBack { type empty; } diff --git a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/R b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/R index 6e399c9a75539a9918a558f7ec40b0edca903f22..f5e0a978209171573884c3be4be2096816e32df4 100644 --- a/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/R +++ b/tutorials/incompressible/simpleFoam/pitzDailyExptInlet/0/R @@ -20,28 +20,28 @@ internalField uniform (0 0 0 0 0 0); boundaryField { - inlet + inlet { type fixedValue; value uniform (0 0 0 0 0 0); } - outlet + outlet { type zeroGradient; } - upperWall + upperWall { - type zeroGradient; + type kQRWallFunction; } - lowerWall + lowerWall { - type zeroGradient; + type kQRWallFunction; } - frontAndBack + frontAndBack { type empty; } diff --git a/tutorials/multiphase/interFoam/ras/damBreak/0/R b/tutorials/multiphase/interFoam/ras/damBreak/0/R index 2342009c4f468f8072174999889e9e76c273c1f2..e62afda35fcc821151c4141fada9e9401e4837de 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/0/R +++ b/tutorials/multiphase/interFoam/ras/damBreak/0/R @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,42 +10,47 @@ FoamFile version 2.0; format ascii; class volSymmTensorField; + location "0"; object R; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; -internalField uniform (0 0 0 0 0 0); +internalField uniform ( 0 0 0 0 0 0 ); boundaryField { - leftWall + leftWall { - type zeroGradient; + type kQRWallFunction; + value uniform ( 0 0 0 0 0 0 ); } - rightWall + rightWall { - type zeroGradient; + type kQRWallFunction; + value uniform ( 0 0 0 0 0 0 ); } - lowerWall + lowerWall { - type zeroGradient; + type kQRWallFunction; + value uniform ( 0 0 0 0 0 0 ); } - atmosphere + atmosphere { type inletOutlet; - inletValue uniform (0 0 0 0 0 0); - value uniform (0 0 0 0 0 0); + inletValue uniform ( 0 0 0 0 0 0 ); + value uniform ( 0 0 0 0 0 0 ); } - defaultFaces + defaultFaces { type empty; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/0/epsilon b/tutorials/multiphase/interFoam/ras/damBreak/0/epsilon index 1db00208e9287449026258f64c7ed4b6fb88e887..92ed8a7d75e228fe370ae2c54f67161b484f4973 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/0/epsilon +++ b/tutorials/multiphase/interFoam/ras/damBreak/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,42 +10,47 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; +dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 0.1; boundaryField { - leftWall + leftWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } - rightWall + rightWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } - lowerWall + lowerWall { - type zeroGradient; + type epsilonWallFunction; + value uniform 0; } - atmosphere + atmosphere { type inletOutlet; inletValue uniform 0.1; value uniform 0.1; } - defaultFaces + defaultFaces { type empty; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/0/k b/tutorials/multiphase/interFoam/ras/damBreak/0/k index 9e576a0270f91da4435abb85a358a775308d8c6a..c8071de03ba06ce1292fe0b5ebb3e018c88efc6d 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/0/k +++ b/tutorials/multiphase/interFoam/ras/damBreak/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,42 +10,47 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0.1; boundaryField { - leftWall + leftWall { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } - rightWall + rightWall { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } - lowerWall + lowerWall { - type zeroGradient; + type kQRWallFunction; + value uniform 0; } - atmosphere + atmosphere { type inletOutlet; inletValue uniform 0.1; value uniform 0.1; } - defaultFaces + defaultFaces { type empty; } } + // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/ras/damBreak/0/mut b/tutorials/multiphase/interFoam/ras/damBreak/0/mut new file mode 100644 index 0000000000000000000000000000000000000000..6bdb1297a41f5aa9e79d775f5848ea75569ed40d --- /dev/null +++ b/tutorials/multiphase/interFoam/ras/damBreak/0/mut @@ -0,0 +1,55 @@ +/*--------------------------------*- 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 volScalarField; + location "0"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [ 1 -1 -1 0 0 0 0 ]; + +internalField uniform 0; + +boundaryField +{ + leftWall + { + type mutWallFunction; + value uniform 0; + } + + rightWall + { + type mutWallFunction; + value uniform 0; + } + + lowerWall + { + type mutWallFunction; + value uniform 0; + } + + atmosphere + { + type calculated; + value uniform 0; + } + + defaultFaces + { + type empty; + } +} + + +// ************************************************************************* //