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
- 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

View File

@ -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;
}
}
// ************************************************************************* //

View File

@ -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;
}
}
// ************************************************************************* //

View File

@ -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;
}
}
// ************************************************************************* //

View File

@ -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;
}
}
// ************************************************************************* //

View File

@ -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;
}
}
// ************************************************************************* //

View File

@ -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;
}
}
// ************************************************************************* //

View File

@ -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;
}
)