diff --git a/TODO b/TODO index a8e8994810..3dc5be6305 100644 --- a/TODO +++ b/TODO @@ -76,12 +76,12 @@ OK - grep for size()/2 OK - DNS/dnsFoam/boxTurb16 OK - channelFoam/channel395 slight differences due to divergence. combustion/XiFoam/les/pitzDaily3D - combustion/fireFoam/les/smallPoolFire2D + OK - no cyclics. combustion/fireFoam/les/smallPoolFire2D discreteMethods/dsmcFoam/freeSpacePeriodic discreteMethods/dsmcFoam/wedge15Ma5 discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon - incompressible/boundaryFoam/boundaryLaunderSharma - incompressible/boundaryFoam/boundaryWallFunctions + OK - incompressible/boundaryFoam/boundaryLaunderSharma + OK - incompressible/boundaryFoam/boundaryWallFunctions incompressible/boundaryFoam/boundaryWallFunctionsProfile incompressible/channelFoam/channel395 incompressible/pimpleFoam/t-junction-with-fan diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire2D/constant/polyMesh/boundary b/tutorials/combustion/fireFoam/les/smallPoolFire2D/constant/polyMesh/boundary index ce658ffe25..ec0f8f9092 100644 --- a/tutorials/combustion/fireFoam/les/smallPoolFire2D/constant/polyMesh/boundary +++ b/tutorials/combustion/fireFoam/les/smallPoolFire2D/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | +| \\ / O peration | Version: splitCyclic | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -15,37 +15,31 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -5 +4 ( base { type patch; - nFaces 134; + nFaces 150; startFace 44700; } outlet { type patch; nFaces 150; - startFace 44834; + startFace 44850; } sides { type patch; nFaces 300; - startFace 44984; + startFace 45000; } frontAndBack { type empty; nFaces 45000; - startFace 45284; - } - inlet - { - type patch; - nFaces 16; - startFace 90284; + startFace 45300; } ) diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/R b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/R index 2f43ccf83a..4c521594c6 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/R +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/R @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: splitCyclic | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,37 +10,40 @@ 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 { - lowerWall + lowerWall { type fixedValue; - value uniform (0 0 0 0 0 0); + value uniform ( 0 0 0 0 0 0 ); } - - upperWall + upperWall { type fixedValue; - value uniform (0 0 0 0 0 0); + value uniform ( 0 0 0 0 0 0 ); } - - frontBack + frontBack_half0 { type cyclic; } - - defaultFaces + defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/U b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/U index ff0c48d23a..c9e313803e 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/U +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/U @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: splitCyclic | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,37 +10,40 @@ FoamFile version 2.0; format ascii; class volVectorField; + location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 1 -1 0 0 0 0]; +dimensions [ 0 1 -1 0 0 0 0 ]; -internalField uniform (10 0 0); +internalField uniform ( 10 0 0 ); boundaryField { - lowerWall + lowerWall { type fixedValue; - value uniform (0 0 0); + value uniform ( 0 0 0 ); } - - upperWall + upperWall { type fixedValue; - value uniform (0 0 0); + value uniform ( 0 0 0 ); } - - frontBack + frontBack_half0 { type cyclic; } - - defaultFaces + defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/epsilon b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/epsilon index 185f277464..52126ce754 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/epsilon +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/epsilon @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: splitCyclic | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,37 +10,40 @@ 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 10; boundaryField { - lowerWall + lowerWall { type fixedValue; value uniform 1e-08; } - - upperWall + upperWall { type fixedValue; value uniform 1e-08; } - - frontBack + frontBack_half0 { type cyclic; } - - defaultFaces + defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/k b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/k index 31c8069807..c0be82cd30 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/k +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/k @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: splitCyclic | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,37 +10,40 @@ 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; boundaryField { - lowerWall + lowerWall { type fixedValue; value uniform 1e-10; } - - upperWall + upperWall { type fixedValue; value uniform 1e-10; } - - frontBack + frontBack_half0 { type cyclic; } - - defaultFaces + defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/nu.xy b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/nu.xy index 2494e52d0c..a2d65783b7 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/nu.xy +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/nu.xy @@ -1,80 +1,80 @@ --0.0499719 1e-05 --0.0499122 1e-05 - -0.049845 1e-05 --0.0497694 1e-05 --0.0496843 1e-05 --0.0495885 1e-05 --0.0494808 1e-05 --0.0493595 1e-05 --0.0492231 1e-05 --0.0490695 1e-05 --0.0488967 1e-05 --0.0487022 1e-05 --0.0484834 1e-05 --0.0482371 1e-05 - -0.04796 1e-05 --0.0476481 1e-05 --0.0472971 1e-05 --0.0469021 1e-05 --0.0464577 1e-05 --0.0459575 1e-05 --0.0453947 1e-05 --0.0447613 1e-05 --0.0440485 1e-05 --0.0432464 1e-05 --0.0423437 1e-05 --0.0413279 1e-05 --0.0401848 1e-05 --0.0388984 1e-05 --0.0374508 1e-05 --0.0358218 1e-05 --0.0339885 1e-05 --0.0319255 1e-05 - -0.029604 1e-05 --0.0269914 1e-05 --0.0240515 1e-05 - -0.020743 1e-05 --0.0170199 1e-05 --0.0128301 1e-05 --0.00811521 1e-05 --0.00280937 1e-05 -0.00280937 1e-05 -0.00811521 1e-05 - 0.0128301 1e-05 - 0.0170199 1e-05 - 0.020743 1e-05 - 0.0240515 1e-05 - 0.0269914 1e-05 - 0.029604 1e-05 - 0.0319255 1e-05 - 0.0339885 1e-05 - 0.0358218 1e-05 - 0.0374508 1e-05 - 0.0388984 1e-05 - 0.0401848 1e-05 - 0.0413279 1e-05 - 0.0423437 1e-05 - 0.0432464 1e-05 - 0.0440485 1e-05 - 0.0447613 1e-05 - 0.0453947 1e-05 - 0.0459575 1e-05 - 0.0464577 1e-05 - 0.0469021 1e-05 - 0.0472971 1e-05 - 0.0476481 1e-05 - 0.04796 1e-05 - 0.0482371 1e-05 - 0.0484834 1e-05 - 0.0487022 1e-05 - 0.0488967 1e-05 - 0.0490695 1e-05 - 0.0492231 1e-05 - 0.0493595 1e-05 - 0.0494808 1e-05 - 0.0495885 1e-05 - 0.0496843 1e-05 - 0.0497694 1e-05 - 0.049845 1e-05 - 0.0499122 1e-05 - 0.0499719 1e-05 +2.80937e-05 1e-05 +8.78022e-05 1e-05 +0.000154994 1e-05 +0.000230608 1e-05 +0.000315699 1e-05 +0.000411455 1e-05 +0.000519212 1e-05 +0.000640475 1e-05 +0.000776937 1e-05 +0.000930502 1e-05 +0.00110331 1e-05 +0.00129779 1e-05 +0.00151663 1e-05 +0.00176291 1e-05 +0.00204005 1e-05 +0.00235193 1e-05 + 0.0027029 1e-05 +0.00309785 1e-05 +0.00354231 1e-05 +0.00404248 1e-05 +0.00460533 1e-05 +0.00523873 1e-05 +0.00595151 1e-05 +0.00675364 1e-05 + 0.0076563 1e-05 +0.00867209 1e-05 + 0.0098152 1e-05 + 0.0111016 1e-05 + 0.0125492 1e-05 + 0.0141782 1e-05 + 0.0160115 1e-05 + 0.0180745 1e-05 + 0.020396 1e-05 + 0.0230086 1e-05 + 0.0259485 1e-05 + 0.029257 1e-05 + 0.0329801 1e-05 + 0.0371699 1e-05 + 0.0418848 1e-05 + 0.0471906 1e-05 + 0.0528094 1e-05 + 0.0581152 1e-05 + 0.0628301 1e-05 + 0.0670199 1e-05 + 0.070743 1e-05 + 0.0740515 1e-05 + 0.0769914 1e-05 + 0.079604 1e-05 + 0.0819255 1e-05 + 0.0839885 1e-05 + 0.0858218 1e-05 + 0.0874508 1e-05 + 0.0888984 1e-05 + 0.0901848 1e-05 + 0.0913279 1e-05 + 0.0923437 1e-05 + 0.0932464 1e-05 + 0.0940485 1e-05 + 0.0947613 1e-05 + 0.0953947 1e-05 + 0.0959575 1e-05 + 0.0964577 1e-05 + 0.0969021 1e-05 + 0.0972971 1e-05 + 0.0976481 1e-05 + 0.09796 1e-05 + 0.0982371 1e-05 + 0.0984834 1e-05 + 0.0987022 1e-05 + 0.0988967 1e-05 + 0.0990695 1e-05 + 0.0992231 1e-05 + 0.0993595 1e-05 + 0.0994808 1e-05 + 0.0995885 1e-05 + 0.0996843 1e-05 + 0.0997694 1e-05 + 0.099845 1e-05 + 0.0999122 1e-05 + 0.0999719 1e-05 diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/nuTilda b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/nuTilda index 5a3e879d5f..a9534f20fb 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/nuTilda +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/0/nuTilda @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: splitCyclic | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,37 +10,40 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object nuTilda; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -1 0 0 0 0]; +dimensions [ 0 2 -1 0 0 0 0 ]; internalField uniform 0; boundaryField { - lowerWall + lowerWall { type fixedValue; value uniform 0; } - - upperWall + upperWall { type fixedValue; value uniform 0; } - - frontBack + frontBack_half0 { type cyclic; } - - defaultFaces + defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/polyMesh/boundary b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/polyMesh/boundary index 9948385f12..0c4f64d3e0 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/polyMesh/boundary +++ b/tutorials/incompressible/boundaryFoam/boundaryLaunderSharma/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | +| \\ / O peration | Version: splitCyclic | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -4 +5 ( lowerWall { @@ -29,12 +29,19 @@ FoamFile nFaces 1; startFace 80; } - frontBack + frontBack_half0 { type cyclic; - nFaces 160; + nFaces 80; startFace 81; - featureCos 0.9; + neighbourPatch frontBack_half1; + } + frontBack_half1 + { + type cyclic; + nFaces 80; + startFace 161; + neighbourPatch frontBack_half0; } defaultFaces { diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/R b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/R index 54eeab58dd..1c5c522387 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/R +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/R @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: splitCyclic | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,35 +10,38 @@ 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 { - lowerWall + lowerWall { type zeroGradient; } - - upperWall + upperWall { type zeroGradient; } - - frontBack + frontBack_half0 { type cyclic; } - - defaultFaces + defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/U b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/U index 00140fa504..cc15bf6bfe 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/U +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/U @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: splitCyclic | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,37 +10,40 @@ FoamFile version 2.0; format ascii; class volVectorField; + location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 1 -1 0 0 0 0]; +dimensions [ 0 1 -1 0 0 0 0 ]; -internalField uniform (0 0 0); +internalField uniform ( 0 0 0 ); boundaryField { - lowerWall + lowerWall { type fixedValue; - value uniform (0 0 0); + value uniform ( 0 0 0 ); } - - upperWall + upperWall { type fixedValue; - value uniform (0 0 0); + value uniform ( 0 0 0 ); } - - frontBack + frontBack_half0 { type cyclic; } - - defaultFaces + defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/epsilon b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/epsilon index 5b6d7f698f..37c5fc7837 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/epsilon +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/epsilon @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | +| \\ / O peration | Version: splitCyclic | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -3 0 0 0 0]; +dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 1e-08; @@ -31,15 +31,18 @@ boundaryField type epsilonWallFunction; value uniform 1e-08; } - frontBack + frontBack_half0 { type cyclic; - value uniform 1e-08; } defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/k b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/k index a51a9a2e6d..ac3233b3d3 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/k +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/k @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | +| \\ / O peration | Version: splitCyclic | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 1e-10; @@ -31,179 +31,18 @@ boundaryField type kqRWallFunction; value uniform 1e-10; } - frontBack + frontBack_half0 { type cyclic; - value nonuniform List -160 -( -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -1e-10 -) -; } defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nu.xy b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nu.xy index 9417b47353..008ac1a40f 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nu.xy +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nu.xy @@ -1,43 +1,3 @@ - -0.049375 1e-05 - -0.048125 1e-05 - -0.046875 1e-05 - -0.045625 1e-05 - -0.044375 1e-05 - -0.043125 1e-05 - -0.041875 1e-05 - -0.040625 1e-05 - -0.039375 1e-05 - -0.038125 1e-05 - -0.036875 1e-05 - -0.035625 1e-05 - -0.034375 1e-05 - -0.033125 1e-05 - -0.031875 1e-05 - -0.030625 1e-05 - -0.029375 1e-05 - -0.028125 1e-05 - -0.026875 1e-05 - -0.025625 1e-05 - -0.024375 1e-05 - -0.023125 1e-05 - -0.021875 1e-05 - -0.020625 1e-05 - -0.019375 1e-05 - -0.018125 1e-05 - -0.016875 1e-05 - -0.015625 1e-05 - -0.014375 1e-05 - -0.013125 1e-05 - -0.011875 1e-05 - -0.010625 1e-05 - -0.009375 1e-05 - -0.008125 1e-05 - -0.006875 1e-05 - -0.005625 1e-05 - -0.004375 1e-05 - -0.003125 1e-05 - -0.001875 1e-05 - -0.000625 1e-05 0.000625 1e-05 0.001875 1e-05 0.003125 1e-05 @@ -78,3 +38,43 @@ 0.046875 1e-05 0.048125 1e-05 0.049375 1e-05 + 0.050625 1e-05 + 0.051875 1e-05 + 0.053125 1e-05 + 0.054375 1e-05 + 0.055625 1e-05 + 0.056875 1e-05 + 0.058125 1e-05 + 0.059375 1e-05 + 0.060625 1e-05 + 0.061875 1e-05 + 0.063125 1e-05 + 0.064375 1e-05 + 0.065625 1e-05 + 0.066875 1e-05 + 0.068125 1e-05 + 0.069375 1e-05 + 0.070625 1e-05 + 0.071875 1e-05 + 0.073125 1e-05 + 0.074375 1e-05 + 0.075625 1e-05 + 0.076875 1e-05 + 0.078125 1e-05 + 0.079375 1e-05 + 0.080625 1e-05 + 0.081875 1e-05 + 0.083125 1e-05 + 0.084375 1e-05 + 0.085625 1e-05 + 0.086875 1e-05 + 0.088125 1e-05 + 0.089375 1e-05 + 0.090625 1e-05 + 0.091875 1e-05 + 0.093125 1e-05 + 0.094375 1e-05 + 0.095625 1e-05 + 0.096875 1e-05 + 0.098125 1e-05 + 0.099375 1e-05 diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nuTilda b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nuTilda index 38a021b100..1a0a5c1a46 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nuTilda +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nuTilda @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: splitCyclic | +| \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -10,35 +10,38 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object nuTilda; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -1 0 0 0 0]; +dimensions [ 0 2 -1 0 0 0 0 ]; internalField uniform 0; boundaryField { - lowerWall + lowerWall { type zeroGradient; } - - upperWall + upperWall { type zeroGradient; } - - frontBack + frontBack_half0 { type cyclic; } - - defaultFaces + defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } + // ************************************************************************* // diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nut b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nut index 5bcd4c4a1d..986830e430 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nut +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/0/nut @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | +| \\ / O peration | Version: splitCyclic | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -1 0 0 0 0]; +dimensions [ 0 2 -1 0 0 0 0 ]; internalField uniform 0; @@ -31,15 +31,18 @@ boundaryField type nutkWallFunction; value uniform 0; } - frontBack + frontBack_half0 { type cyclic; - value uniform 0; } defaultFaces { type empty; } + frontBack_half1 + { + type cyclic; + } } diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/polyMesh/boundary b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/polyMesh/boundary index 9948385f12..0c4f64d3e0 100644 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/polyMesh/boundary +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctions/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | +| \\ / O peration | Version: splitCyclic | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -15,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -4 +5 ( lowerWall { @@ -29,12 +29,19 @@ FoamFile nFaces 1; startFace 80; } - frontBack + frontBack_half0 { type cyclic; - nFaces 160; + nFaces 80; startFace 81; - featureCos 0.9; + neighbourPatch frontBack_half1; + } + frontBack_half1 + { + type cyclic; + nFaces 80; + startFace 161; + neighbourPatch frontBack_half0; } defaultFaces {