ENH: converted boxTurb16

This commit is contained in:
mattijs
2010-05-04 14:53:35 +01:00
parent 72caa3020b
commit 061a0014c4
8 changed files with 179 additions and 55 deletions

21
TODO
View File

@ -72,9 +72,26 @@ tested on channel395 with 'directSolveCoarsest true;'
OK - grep for size()/2 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 - activeBaffleVelocity
- work out overlapping communication for PstreamBuffers.
Different tag?
- kivaToFoam/readKivaGrid.H sorts cyclics (but in incorrect order?) - kivaToFoam/readKivaGrid.H sorts cyclics (but in incorrect order?)
- isoSurface.C - isoSurface.C
- referredCellList.C - referredCellList.C

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volVectorField; class volVectorField;
location "1";
object U; object U;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,18 +21,31 @@ internalField uniform (0 0 0);
boundaryField boundaryField
{ {
patch0 patch0_half0
{ {
type cyclic; type cyclic;
} }
patch1 patch1_half0
{ {
type cyclic; type cyclic;
} }
patch2 patch2_half0
{
type cyclic;
}
patch2_half1
{
type cyclic;
}
patch1_half1
{
type cyclic;
}
patch0_half1
{ {
type cyclic; type cyclic;
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "1";
object enstrophy; object enstrophy;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,21 +21,37 @@ internalField uniform 0;
boundaryField boundaryField
{ {
patch0 patch0_half0
{ {
type cyclic; type cyclic;
value uniform 0; value uniform 0;
} }
patch1 patch1_half0
{ {
type cyclic; type cyclic;
value uniform 0; 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; type cyclic;
value uniform 0; value uniform 0;
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "1";
object p; object p;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,20 +21,31 @@ internalField uniform 0;
boundaryField boundaryField
{ {
patch0 patch0_half0
{ {
type cyclic; type cyclic;
} }
patch1_half0
{
type cyclic;
}
patch2_half0
{
type cyclic;
}
patch2_half1
{
type cyclic;
}
patch1_half1
{
type cyclic;
}
patch0_half1
{
type cyclic;
}
}
patch1
{
type cyclic;
}
patch2
{
type cyclic;
}
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volVectorField; class volVectorField;
location "1";
object U; object U;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,18 +21,31 @@ internalField uniform (0 0 0);
boundaryField boundaryField
{ {
patch0 patch0_half0
{ {
type cyclic; type cyclic;
} }
patch1 patch1_half0
{ {
type cyclic; type cyclic;
} }
patch2 patch2_half0
{
type cyclic;
}
patch2_half1
{
type cyclic;
}
patch1_half1
{
type cyclic;
}
patch0_half1
{ {
type cyclic; type cyclic;
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "1";
object enstrophy; object enstrophy;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,21 +21,37 @@ internalField uniform 0;
boundaryField boundaryField
{ {
patch0 patch0_half0
{ {
type cyclic; type cyclic;
value uniform 0; value uniform 0;
} }
patch1 patch1_half0
{ {
type cyclic; type cyclic;
value uniform 0; 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; type cyclic;
value uniform 0; value uniform 0;
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "1";
object p; object p;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,20 +21,31 @@ internalField uniform 0;
boundaryField boundaryField
{ {
patch0 patch0_half0
{ {
type cyclic; type cyclic;
} }
patch1_half0
{
type cyclic;
}
patch2_half0
{
type cyclic;
}
patch2_half1
{
type cyclic;
}
patch1_half1
{
type cyclic;
}
patch0_half1
{
type cyclic;
}
}
patch1
{
type cyclic;
}
patch2
{
type cyclic;
}
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -15,28 +15,49 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
3 6
( (
patch0 patch0_half0
{ {
type cyclic; type cyclic;
nFaces 512; nFaces 256;
startFace 11520; startFace 11520;
featureCos 0.9; neighbourPatch patch0_half1;
} }
patch1 patch0_half1
{ {
type cyclic; type cyclic;
nFaces 512; nFaces 256;
startFace 11776;
neighbourPatch patch0_half0;
}
patch1_half0
{
type cyclic;
nFaces 256;
startFace 12032; startFace 12032;
featureCos 0.9; neighbourPatch patch1_half1;
} }
patch2 patch1_half1
{ {
type cyclic; type cyclic;
nFaces 512; nFaces 256;
startFace 12288;
neighbourPatch patch1_half0;
}
patch2_half0
{
type cyclic;
nFaces 256;
startFace 12544; startFace 12544;
featureCos 0.9; neighbourPatch patch2_half1;
}
patch2_half1
{
type cyclic;
nFaces 256;
startFace 12800;
neighbourPatch patch2_half0;
} }
) )