ENH: Updated combustion/XiFoam/les/pitzDaily3D

This commit is contained in:
mattijs
2010-05-04 15:29:51 +01:00
parent 409d373c6d
commit 3973126deb
12 changed files with 126 additions and 99 deletions

6
TODO
View File

@ -73,9 +73,9 @@ tested on channel395 with 'directSolveCoarsest true;'
OK - grep for size()/2 OK - grep for size()/2
- all tutorials with cyclics: - all tutorials with cyclics:
OK- DNS/dnsFoam/boxTurb16 OK - DNS/dnsFoam/boxTurb16
channelOodles/channel395 OK - channelFoam/channel395
combustion/XiFoam/les/pitzDaily3D slight differences due to divergence. combustion/XiFoam/les/pitzDaily3D
combustion/fireFoam/les/smallPoolFire2D combustion/fireFoam/les/smallPoolFire2D
discreteMethods/dsmcFoam/freeSpacePeriodic discreteMethods/dsmcFoam/freeSpacePeriodic
discreteMethods/dsmcFoam/wedge15Ma5 discreteMethods/dsmcFoam/wedge15Ma5

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,11 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object Su; object Su;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0]; dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform 0.135; internalField uniform 0.135;
@ -25,28 +26,29 @@ boundaryField
type fixedValue; type fixedValue;
value uniform 0.135; value uniform 0.135;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 0.135; inletValue uniform 0.135;
value uniform 0.135; value uniform 0.135;
} }
upperWall upperWall
{ {
type zeroGradient; type zeroGradient;
} }
lowerWall lowerWall
{ {
type zeroGradient; type zeroGradient;
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_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,11 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object T; object T;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 1 0 0 0]; dimensions [ 0 0 0 1 0 0 0 ];
internalField uniform 293; internalField uniform 293;
@ -25,30 +26,31 @@ boundaryField
type fixedValue; type fixedValue;
value uniform 293; value uniform 293;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 293; inletValue uniform 293;
value uniform 293; value uniform 293;
} }
upperWall upperWall
{ {
type fixedValue; type fixedValue;
value uniform 293; value uniform 293;
} }
lowerWall lowerWall
{ {
type fixedValue; type fixedValue;
value uniform 570; value uniform 570;
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_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,11 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object Tu; object Tu;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 1 0 0 0]; dimensions [ 0 0 0 1 0 0 0 ];
internalField uniform 293; internalField uniform 293;
@ -25,30 +26,31 @@ boundaryField
type fixedValue; type fixedValue;
value uniform 293; value uniform 293;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 293; inletValue uniform 293;
value uniform 293; value uniform 293;
} }
upperWall upperWall
{ {
type fixedValue; type fixedValue;
value uniform 293; value uniform 293;
} }
lowerWall lowerWall
{ {
type fixedValue; type fixedValue;
value uniform 570; value uniform 570;
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_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,47 +10,49 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volVectorField; class volVectorField;
location "0";
object U; 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 boundaryField
{ {
inlet inlet
{ {
type turbulentInlet; type turbulentInlet;
referenceField uniform (13.3 0 0); referenceField uniform ( 13.3 0 0 );
fluctuationScale (0.04 0.02 0.02); fluctuationScale ( 0.04 0.02 0.02 );
alpha 0.1; alpha 0.1;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform (0 0 0); inletValue uniform ( 0 0 0 );
value uniform (0 0 0); value uniform ( 0 0 0 );
} }
upperWall upperWall
{ {
type fixedValue; type fixedValue;
value uniform (0 0 0); value uniform ( 0 0 0 );
} }
lowerWall lowerWall
{ {
type fixedValue; type fixedValue;
value uniform (0 0 0); value uniform ( 0 0 0 );
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_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,11 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object Xi; object Xi;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0]; dimensions [ 0 0 0 0 0 0 0 ];
internalField uniform 1; internalField uniform 1;
@ -25,28 +26,29 @@ boundaryField
type fixedValue; type fixedValue;
value uniform 1; value uniform 1;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 1; inletValue uniform 1;
value uniform 1; value uniform 1;
} }
upperWall upperWall
{ {
type zeroGradient; type zeroGradient;
} }
lowerWall lowerWall
{ {
type zeroGradient; type zeroGradient;
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_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,11 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object alphaSgs; object alphaSgs;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0]; dimensions [ 1 -1 -1 0 0 0 0 ];
internalField uniform 0; internalField uniform 0;
@ -24,28 +25,29 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
outlet outlet
{ {
type zeroGradient; type zeroGradient;
} }
upperWall upperWall
{ {
type alphaSgsJayatillekeWallFunction; type alphaSgsJayatillekeWallFunction;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type alphaSgsJayatillekeWallFunction; type alphaSgsJayatillekeWallFunction;
value uniform 0; value uniform 0;
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_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,11 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object b; object b;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0]; dimensions [ 0 0 0 0 0 0 0 ];
internalField uniform 1; internalField uniform 1;
@ -25,28 +26,29 @@ boundaryField
type fixedValue; type fixedValue;
value uniform 1; value uniform 1;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 1; inletValue uniform 1;
value uniform 1; value uniform 1;
} }
upperWall upperWall
{ {
type zeroGradient; type zeroGradient;
} }
lowerWall lowerWall
{ {
type zeroGradient; type zeroGradient;
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_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,11 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object k; object k;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0]; dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 2e-05; internalField uniform 2e-05;
@ -25,30 +26,31 @@ boundaryField
type fixedValue; type fixedValue;
value uniform 2e-05; value uniform 2e-05;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 2e-05; inletValue uniform 2e-05;
value uniform 2e-05; value uniform 2e-05;
} }
upperWall upperWall
{ {
type zeroGradient; type zeroGradient;
value uniform 2e-05; value uniform 2e-05;
} }
lowerWall lowerWall
{ {
type zeroGradient; type zeroGradient;
value uniform 2e-05; value uniform 2e-05;
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_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,11 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object muSgs; object muSgs;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0]; dimensions [ 1 -1 -1 0 0 0 0 ];
internalField uniform 0; internalField uniform 0;
@ -24,28 +25,29 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
outlet outlet
{ {
type zeroGradient; type zeroGradient;
} }
upperWall upperWall
{ {
type muSgsUSpaldingWallFunction; type muSgsUSpaldingWallFunction;
value uniform 0; value uniform 0;
} }
lowerWall lowerWall
{ {
type muSgsUSpaldingWallFunction; type muSgsUSpaldingWallFunction;
value uniform 0; value uniform 0;
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_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,13 +10,14 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object p; 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 boundaryField
{ {
@ -24,7 +25,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
outlet outlet
{ {
type waveTransmissive; type waveTransmissive;
@ -33,25 +33,27 @@ boundaryField
rho rho; rho rho;
psi psi; psi psi;
gamma 1.3; gamma 1.3;
fieldInf 1e5; fieldInf 100000;
lInf 0.3; lInf 0.3;
value uniform 1e5; value uniform 100000;
} }
upperWall upperWall
{ {
type zeroGradient; type zeroGradient;
} }
lowerWall lowerWall
{ {
type zeroGradient; type zeroGradient;
} }
frontAndBack_half0
frontAndBack {
type cyclic;
}
frontAndBack_half1
{ {
type cyclic; 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: dev | | \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5 6
( (
inlet inlet
{ {
@ -41,12 +41,19 @@ FoamFile
nFaces 5000; nFaces 5000;
startFace 721875; startFace 721875;
} }
frontAndBack frontAndBack_half0
{ {
type cyclic; type cyclic;
nFaces 24450; nFaces 12225;
startFace 726875; startFace 726875;
featureCos 0.9; neighbourPatch frontAndBack_half1;
}
frontAndBack_half1
{
type cyclic;
nFaces 12225;
startFace 739100;
neighbourPatch frontAndBack_half0;
} }
) )