diff --git a/TODO b/TODO index 394ae6519b..58fb3703f8 100644 --- a/TODO +++ b/TODO @@ -73,8 +73,8 @@ tested on channel395 with 'directSolveCoarsest true;' OK - grep for size()/2 - all tutorials with cyclics: - OK - DNS/dnsFoam/boxTurb16 - OK - channelFoam/channel395 + OK - incompressible/DNS/dnsFoam/boxTurb16 + OK - incompressible/channelFoam/channel395 slight differences due to divergence. combustion/XiFoam/les/pitzDaily3D OK - no cyclics. combustion/fireFoam/les/smallPoolFire2D discreteMethods/dsmcFoam/freeSpacePeriodic @@ -83,9 +83,8 @@ OK - grep for size()/2 OK - incompressible/boundaryFoam/boundaryLaunderSharma OK - incompressible/boundaryFoam/boundaryWallFunctions OK - incompressible/boundaryFoam/boundaryWallFunctionsProfile - incompressible/channelFoam/channel395 incompressible/pimpleFoam/t-junction-with-fan - incompressible/simpleSRFFoam/mixer + OK - incompressible/simpleSRFFoam/mixer lagrangian/porousExplicitSourceReactingParcelFoam/filter lagrangian/reactingParcelFilmFoam/multipleBoxes diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/0/Urel b/tutorials/incompressible/simpleSRFFoam/mixer/0/Urel index 5545397bd5..dbf1defead 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/0/Urel +++ b/tutorials/incompressible/simpleSRFFoam/mixer/0/Urel @@ -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,47 +10,49 @@ FoamFile version 2.0; format ascii; class volVectorField; + location "0"; object Urel; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -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 { inlet { type SRFVelocity; - inletValue uniform (0 0 -10); + inletValue uniform ( 0 0 -10 ); relative yes; - value uniform (0 0 0); + value uniform ( 0 0 0 ); } - outlet { type zeroGradient; } - innerWall { type fixedValue; - value uniform (0 0 0); + value uniform ( 0 0 0 ); } - outerWall { type SRFVelocity; - inletValue uniform (0 0 0); + inletValue uniform ( 0 0 0 ); relative yes; - value uniform (0 0 0); + value uniform ( 0 0 0 ); } - - cyclic + cyclic_half0 + { + type cyclic; + } + cyclic_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/0/epsilon b/tutorials/incompressible/simpleSRFFoam/mixer/0/epsilon index 4499dbcf5a..c4b875bc8a 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/0/epsilon +++ b/tutorials/incompressible/simpleSRFFoam/mixer/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,45 +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 14.855; boundaryField { - inlet + inlet { type fixedValue; value uniform 14.855; } - - outlet + outlet { type zeroGradient; } - - innerWall + innerWall { type epsilonWallFunction; U Urel; value uniform 14.855; } - - outerWall + outerWall { type epsilonWallFunction; U Urel; value uniform 14.855; } - - cyclic + cyclic_half0 + { + type cyclic; + } + cyclic_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/0/k b/tutorials/incompressible/simpleSRFFoam/mixer/0/k index 229ac26681..5dff207809 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/0/k +++ b/tutorials/incompressible/simpleSRFFoam/mixer/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 0.375; @@ -40,7 +40,12 @@ boundaryField type kqRWallFunction; value uniform 0.375; } - cyclic + cyclic_half0 + { + type cyclic; + value uniform 0.375; + } + cyclic_half1 { type cyclic; value uniform 0.375; diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/0/nut b/tutorials/incompressible/simpleSRFFoam/mixer/0/nut index 82d057a58b..e3c05b94b6 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/0/nut +++ b/tutorials/incompressible/simpleSRFFoam/mixer/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; @@ -43,7 +43,12 @@ boundaryField U Urel; value uniform 0; } - cyclic + cyclic_half0 + { + type cyclic; + value uniform 0; + } + cyclic_half1 { type cyclic; value uniform 0; diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/0/omega b/tutorials/incompressible/simpleSRFFoam/mixer/0/omega index b2f952d00c..a7915f30b1 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/0/omega +++ b/tutorials/incompressible/simpleSRFFoam/mixer/0/omega @@ -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 0 -1 0 0 0 0]; +dimensions [ 0 0 -1 0 0 0 0 ]; internalField uniform 3.5; @@ -42,7 +42,12 @@ boundaryField U Urel; value uniform 3.5; } - cyclic + cyclic_half0 + { + type cyclic; + value uniform 3.5; + } + cyclic_half1 { type cyclic; value uniform 3.5; diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/0/p b/tutorials/incompressible/simpleSRFFoam/mixer/0/p index 4a136a3ccc..dfb6fe99fe 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/0/p +++ b/tutorials/incompressible/simpleSRFFoam/mixer/0/p @@ -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,11 +10,12 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0; @@ -24,27 +25,28 @@ boundaryField { type zeroGradient; } - outlet { type fixedValue; value uniform 0; } - innerWall { type zeroGradient; } - outerWall { type zeroGradient; } - - cyclic + cyclic_half0 + { + type cyclic; + } + cyclic_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/incompressible/simpleSRFFoam/mixer/constant/polyMesh/boundary b/tutorials/incompressible/simpleSRFFoam/mixer/constant/polyMesh/boundary index 3fff299c5a..9dd337f2de 100644 --- a/tutorials/incompressible/simpleSRFFoam/mixer/constant/polyMesh/boundary +++ b/tutorials/incompressible/simpleSRFFoam/mixer/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 } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -5 +6 ( inlet { @@ -41,12 +41,19 @@ FoamFile nFaces 880; startFace 100840; } - cyclic + cyclic_half0 { type cyclic; - nFaces 3200; + nFaces 1600; startFace 101720; - featureCos 0.9; + neighbourPatch cyclic_half1; + } + cyclic_half1 + { + type cyclic; + nFaces 1600; + startFace 103320; + neighbourPatch cyclic_half0; } )