From 3973126deb48c7317e13ca61aaccfc8c637a43cc Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 4 May 2010 15:29:51 +0100 Subject: [PATCH] ENH: Updated combustion/XiFoam/les/pitzDaily3D --- TODO | 6 ++-- .../combustion/XiFoam/les/pitzDaily3D/0/Su | 18 +++++----- .../combustion/XiFoam/les/pitzDaily3D/0/T | 18 +++++----- .../combustion/XiFoam/les/pitzDaily3D/0/Tu | 18 +++++----- .../combustion/XiFoam/les/pitzDaily3D/0/U | 34 ++++++++++--------- .../combustion/XiFoam/les/pitzDaily3D/0/Xi | 18 +++++----- .../XiFoam/les/pitzDaily3D/0/alphaSgs | 18 +++++----- .../combustion/XiFoam/les/pitzDaily3D/0/b | 18 +++++----- .../combustion/XiFoam/les/pitzDaily3D/0/k | 18 +++++----- .../combustion/XiFoam/les/pitzDaily3D/0/muSgs | 18 +++++----- .../combustion/XiFoam/les/pitzDaily3D/0/p | 24 +++++++------ .../pitzDaily3D/constant/polyMesh/boundary | 17 +++++++--- 12 files changed, 126 insertions(+), 99 deletions(-) diff --git a/TODO b/TODO index 8770155fdf..a8e8994810 100644 --- a/TODO +++ b/TODO @@ -73,9 +73,9 @@ 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 + OK - DNS/dnsFoam/boxTurb16 + OK - channelFoam/channel395 + slight differences due to divergence. combustion/XiFoam/les/pitzDaily3D combustion/fireFoam/les/smallPoolFire2D discreteMethods/dsmcFoam/freeSpacePeriodic discreteMethods/dsmcFoam/wedge15Ma5 diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Su b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Su index c04ce1d7e0..d3cc26e7d8 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Su +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Su @@ -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 Su; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 1 -1 0 0 0 0]; +dimensions [ 0 1 -1 0 0 0 0 ]; internalField uniform 0.135; @@ -25,28 +26,29 @@ boundaryField type fixedValue; value uniform 0.135; } - outlet { type inletOutlet; inletValue uniform 0.135; value uniform 0.135; } - upperWall { type zeroGradient; } - lowerWall { type zeroGradient; } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/T b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/T index bb7a3a2d79..f8c2f8ec0c 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/T +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/T @@ -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 T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 0 0 1 0 0 0]; +dimensions [ 0 0 0 1 0 0 0 ]; internalField uniform 293; @@ -25,30 +26,31 @@ boundaryField type fixedValue; value uniform 293; } - outlet { type inletOutlet; inletValue uniform 293; value uniform 293; } - upperWall { type fixedValue; value uniform 293; } - lowerWall { type fixedValue; value uniform 570; } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Tu b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Tu index 82ea630126..c0fa420d2b 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Tu +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Tu @@ -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 Tu; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 0 0 1 0 0 0]; +dimensions [ 0 0 0 1 0 0 0 ]; internalField uniform 293; @@ -25,30 +26,31 @@ boundaryField type fixedValue; value uniform 293; } - outlet { type inletOutlet; inletValue uniform 293; value uniform 293; } - upperWall { type fixedValue; value uniform 293; } - lowerWall { type fixedValue; value uniform 570; } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/U b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/U index c3f3a97c29..6067884afc 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/U +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/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,47 +10,49 @@ 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 { inlet { type turbulentInlet; - referenceField uniform (13.3 0 0); - fluctuationScale (0.04 0.02 0.02); - alpha 0.1; + referenceField uniform ( 13.3 0 0 ); + fluctuationScale ( 0.04 0.02 0.02 ); + alpha 0.1; } - outlet { type inletOutlet; - inletValue uniform (0 0 0); - value uniform (0 0 0); + inletValue uniform ( 0 0 0 ); + value uniform ( 0 0 0 ); } - upperWall { type fixedValue; - value uniform (0 0 0); + value uniform ( 0 0 0 ); } - lowerWall { type fixedValue; - value uniform (0 0 0); + value uniform ( 0 0 0 ); } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Xi b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Xi index 6ddd7b27fb..eb94d243a8 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Xi +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/Xi @@ -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 Xi; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 0 0 0 0 0 0]; +dimensions [ 0 0 0 0 0 0 0 ]; internalField uniform 1; @@ -25,28 +26,29 @@ boundaryField type fixedValue; value uniform 1; } - outlet { type inletOutlet; inletValue uniform 1; value uniform 1; } - upperWall { type zeroGradient; } - lowerWall { type zeroGradient; } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/alphaSgs b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/alphaSgs index b536298afb..3b3abcca8b 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/alphaSgs +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/alphaSgs @@ -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 alphaSgs; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [1 -1 -1 0 0 0 0]; +dimensions [ 1 -1 -1 0 0 0 0 ]; internalField uniform 0; @@ -24,28 +25,29 @@ boundaryField { type zeroGradient; } - outlet { type zeroGradient; } - upperWall { type alphaSgsJayatillekeWallFunction; value uniform 0; } - lowerWall { type alphaSgsJayatillekeWallFunction; value uniform 0; } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/b b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/b index 593c5cbfb1..072346a532 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/b +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/b @@ -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 b; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [0 0 0 0 0 0 0]; +dimensions [ 0 0 0 0 0 0 0 ]; internalField uniform 1; @@ -25,28 +26,29 @@ boundaryField type fixedValue; value uniform 1; } - outlet { type inletOutlet; inletValue uniform 1; value uniform 1; } - upperWall { type zeroGradient; } - lowerWall { type zeroGradient; } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/k b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/k index 4732ee3c32..862110ed4c 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/k +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/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,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 2e-05; @@ -25,30 +26,31 @@ boundaryField type fixedValue; value uniform 2e-05; } - outlet { type inletOutlet; inletValue uniform 2e-05; value uniform 2e-05; } - upperWall { type zeroGradient; value uniform 2e-05; } - lowerWall { type zeroGradient; value uniform 2e-05; } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/muSgs b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/muSgs index 7a45526d54..3894d39183 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/muSgs +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/muSgs @@ -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 muSgs; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [1 -1 -1 0 0 0 0]; +dimensions [ 1 -1 -1 0 0 0 0 ]; internalField uniform 0; @@ -24,28 +25,29 @@ boundaryField { type zeroGradient; } - outlet { type zeroGradient; } - upperWall { type muSgsUSpaldingWallFunction; value uniform 0; } - lowerWall { type muSgsUSpaldingWallFunction; value uniform 0; } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/p b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/p index 375a81d783..bfd7be5db2 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/p +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/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,13 +10,14 @@ FoamFile version 2.0; format ascii; class volScalarField; + location "0"; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [1 -1 -2 0 0 0 0]; +dimensions [ 1 -1 -2 0 0 0 0 ]; -internalField uniform 1e5; +internalField uniform 100000; boundaryField { @@ -24,7 +25,6 @@ boundaryField { type zeroGradient; } - outlet { type waveTransmissive; @@ -33,25 +33,27 @@ boundaryField rho rho; psi psi; gamma 1.3; - fieldInf 1e5; + fieldInf 100000; lInf 0.3; - value uniform 1e5; + value uniform 100000; } - upperWall { type zeroGradient; } - lowerWall { type zeroGradient; } - - frontAndBack + frontAndBack_half0 + { + type cyclic; + } + frontAndBack_half1 { type cyclic; } } + // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/polyMesh/boundary b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/polyMesh/boundary index 19a09dd2c7..807a1d700b 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/polyMesh/boundary +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/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,7 +15,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -5 +6 ( inlet { @@ -41,12 +41,19 @@ FoamFile nFaces 5000; startFace 721875; } - frontAndBack + frontAndBack_half0 { type cyclic; - nFaces 24450; + nFaces 12225; startFace 726875; - featureCos 0.9; + neighbourPatch frontAndBack_half1; + } + frontAndBack_half1 + { + type cyclic; + nFaces 12225; + startFace 739100; + neighbourPatch frontAndBack_half0; } )