diff --git a/TODO b/TODO index 8b4b7a7505..7cf51e0e2b 100644 --- a/TODO +++ b/TODO @@ -72,9 +72,26 @@ tested on channel395 with 'directSolveCoarsest true;' OK - grep for size()/2 +- all tutorials with cyclics: + OK- DNS/dnsFoam/boxTurb16 + channelOodles/channel395 + combustion/XiFoam/les/pitzDaily3D + combustion/fireFoam/les/smallPoolFire2D + discreteMethods/dsmcFoam/freeSpacePeriodic + discreteMethods/dsmcFoam/wedge15Ma5 + discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon + incompressible/boundaryFoam/boundaryLaunderSharma + incompressible/boundaryFoam/boundaryWallFunctions + incompressible/boundaryFoam/boundaryWallFunctionsProfile + incompressible/channelFoam/channel395 + incompressible/pimpleFoam/t-junction-with-fan + incompressible/simpleSRFFoam/mixer + lagrangian/porousExplicitSourceReactingParcelFoam/filter + lagrangian/reactingParcelFilmFoam/multipleBoxes + + +- createBaffles - activeBaffleVelocity -- work out overlapping communication for PstreamBuffers. - Different tag? - kivaToFoam/readKivaGrid.H sorts cyclics (but in incorrect order?) - isoSurface.C - referredCellList.C diff --git a/tutorials/DNS/dnsFoam/boxTurb16/0.org/U b/tutorials/DNS/dnsFoam/boxTurb16/0.org/U index 77cc396c20..9b2701a3ae 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/0.org/U +++ b/tutorials/DNS/dnsFoam/boxTurb16/0.org/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,28 +10,42 @@ FoamFile version 2.0; format ascii; class volVectorField; + location "1"; 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 { - patch0 + patch0_half0 { type cyclic; } - patch1 + patch1_half0 { type cyclic; } - patch2 + patch2_half0 + { + type cyclic; + } + patch2_half1 + { + type cyclic; + } + patch1_half1 + { + type cyclic; + } + patch0_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/0.org/enstrophy b/tutorials/DNS/dnsFoam/boxTurb16/0.org/enstrophy index 4f1197074d..254013e6c9 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/0.org/enstrophy +++ b/tutorials/DNS/dnsFoam/boxTurb16/0.org/enstrophy @@ -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,31 +10,48 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "1"; object enstrophy; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 0 -2 0 0 0 0]; +dimensions [ 0 0 -2 0 0 0 0 ]; internalField uniform 0; boundaryField { - patch0 + patch0_half0 { type cyclic; value uniform 0; } - patch1 + patch1_half0 { type cyclic; value uniform 0; } - patch2 + patch2_half0 + { + type cyclic; + value uniform 0; + } + patch2_half1 + { + type cyclic; + value uniform 0; + } + patch1_half1 + { + type cyclic; + value uniform 0; + } + patch0_half1 { type cyclic; value uniform 0; } } + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/0.org/p b/tutorials/DNS/dnsFoam/boxTurb16/0.org/p index 0874357a9b..0738f6a867 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/0.org/p +++ b/tutorials/DNS/dnsFoam/boxTurb16/0.org/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,30 +10,42 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "1"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0; boundaryField { - patch0 + patch0_half0 { type cyclic; } - - patch1 + patch1_half0 { type cyclic; } - - patch2 + patch2_half0 + { + type cyclic; + } + patch2_half1 + { + type cyclic; + } + patch1_half1 + { + type cyclic; + } + patch0_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/0/U b/tutorials/DNS/dnsFoam/boxTurb16/0/U index 77cc396c20..9b2701a3ae 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/0/U +++ b/tutorials/DNS/dnsFoam/boxTurb16/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,28 +10,42 @@ FoamFile version 2.0; format ascii; class volVectorField; + location "1"; 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 { - patch0 + patch0_half0 { type cyclic; } - patch1 + patch1_half0 { type cyclic; } - patch2 + patch2_half0 + { + type cyclic; + } + patch2_half1 + { + type cyclic; + } + patch1_half1 + { + type cyclic; + } + patch0_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/0/enstrophy b/tutorials/DNS/dnsFoam/boxTurb16/0/enstrophy index 4f1197074d..254013e6c9 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/0/enstrophy +++ b/tutorials/DNS/dnsFoam/boxTurb16/0/enstrophy @@ -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,31 +10,48 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "1"; object enstrophy; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 0 -2 0 0 0 0]; +dimensions [ 0 0 -2 0 0 0 0 ]; internalField uniform 0; boundaryField { - patch0 + patch0_half0 { type cyclic; value uniform 0; } - patch1 + patch1_half0 { type cyclic; value uniform 0; } - patch2 + patch2_half0 + { + type cyclic; + value uniform 0; + } + patch2_half1 + { + type cyclic; + value uniform 0; + } + patch1_half1 + { + type cyclic; + value uniform 0; + } + patch0_half1 { type cyclic; value uniform 0; } } + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/0/p b/tutorials/DNS/dnsFoam/boxTurb16/0/p index 0874357a9b..0738f6a867 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/0/p +++ b/tutorials/DNS/dnsFoam/boxTurb16/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,30 +10,42 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "1"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 2 -2 0 0 0 0]; +dimensions [ 0 2 -2 0 0 0 0 ]; internalField uniform 0; boundaryField { - patch0 + patch0_half0 { type cyclic; } - - patch1 + patch1_half0 { type cyclic; } - - patch2 + patch2_half0 + { + type cyclic; + } + patch2_half1 + { + type cyclic; + } + patch1_half1 + { + type cyclic; + } + patch0_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/DNS/dnsFoam/boxTurb16/constant/polyMesh/boundary b/tutorials/DNS/dnsFoam/boxTurb16/constant/polyMesh/boundary index bbae809191..1999f682b1 100644 --- a/tutorials/DNS/dnsFoam/boxTurb16/constant/polyMesh/boundary +++ b/tutorials/DNS/dnsFoam/boxTurb16/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,28 +15,49 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -3 +6 ( - patch0 + patch0_half0 { type cyclic; - nFaces 512; + nFaces 256; startFace 11520; - featureCos 0.9; + neighbourPatch patch0_half1; } - patch1 + patch0_half1 { type cyclic; - nFaces 512; + nFaces 256; + startFace 11776; + neighbourPatch patch0_half0; + } + patch1_half0 + { + type cyclic; + nFaces 256; startFace 12032; - featureCos 0.9; + neighbourPatch patch1_half1; } - patch2 + patch1_half1 { type cyclic; - nFaces 512; + nFaces 256; + startFace 12288; + neighbourPatch patch1_half0; + } + patch2_half0 + { + type cyclic; + nFaces 256; startFace 12544; - featureCos 0.9; + neighbourPatch patch2_half1; + } + patch2_half1 + { + type cyclic; + nFaces 256; + startFace 12800; + neighbourPatch patch2_half0; } )