buoyantSimpleRadiationFoam tutorial update

This commit is contained in:
andy
2009-07-21 19:39:00 +01:00
parent 3dfc299a0a
commit bc88cf965f
4 changed files with 75 additions and 56 deletions

View File

@ -1,14 +1,14 @@
/*--------------------------------*- 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: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format binary;
class volScalarField; class volScalarField;
location "0"; location "0";
object alphat; object alphat;
@ -23,22 +23,26 @@ boundaryField
{ {
box box
{ {
type alphatWallFunction; type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0; value uniform 0;
} }
floor floor
{ {
type alphatWallFunction; type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0; value uniform 0;
} }
ceiling ceiling
{ {
type alphatWallFunction; type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0; value uniform 0;
} }
fixedWalls fixedWalls
{ {
type alphatWallFunction; type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0; value uniform 0;
} }
} }

View File

@ -1,48 +1,57 @@
/*--------------------------------*- 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: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format binary;
class volScalarField; class volScalarField;
location "0"; location "0";
object epsilon; object epsilon;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -3 0 0 0 0 ]; dimensions [0 2 -3 0 0 0 0];
internalField uniform 0.01; internalField uniform 0.01;
boundaryField boundaryField
{ {
floor
{
type compressible::epsilonWallFunction;
value uniform 0;
}
ceiling
{
type compressible::epsilonWallFunction;
value uniform 0;
}
fixedWalls
{
type compressible::epsilonWallFunction;
value uniform 0;
}
box box
{ {
type compressible::epsilonWallFunction; type compressible::epsilonWallFunction;
value uniform 0; Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
}
floor
{
type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
}
ceiling
{
type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
}
fixedWalls
{
type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
} }
} }

View File

@ -1,48 +1,45 @@
/*--------------------------------*- 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: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format binary;
class volScalarField; class volScalarField;
location "0"; location "0";
object k; object k;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ]; dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.1; internalField uniform 0.1;
boundaryField boundaryField
{ {
floor
{
type compressible::kqRWallFunction;
value uniform 0;
}
ceiling
{
type compressible::kqRWallFunction;
value uniform 0;
}
fixedWalls
{
type compressible::kqRWallFunction;
value uniform 0;
}
box box
{ {
type compressible::kqRWallFunction; type compressible::kqRWallFunction;
value uniform 0; value uniform 0.1;
}
floor
{
type compressible::kqRWallFunction;
value uniform 0.1;
}
ceiling
{
type compressible::kqRWallFunction;
value uniform 0.1;
}
fixedWalls
{
type compressible::kqRWallFunction;
value uniform 0.1;
} }
} }

View File

@ -1,21 +1,21 @@
/*--------------------------------*- 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: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format binary;
class volScalarField; class volScalarField;
location "0"; location "0";
object mut; object mut;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -1 0 0 0 0 ]; dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0; internalField uniform 0;
@ -24,24 +24,33 @@ boundaryField
box box
{ {
type mutWallFunction; type mutWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0; value uniform 0;
} }
floor floor
{ {
type mutWallFunction; type mutWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0; value uniform 0;
} }
ceiling ceiling
{ {
type mutWallFunction; type mutWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0; value uniform 0;
} }
fixedWalls fixedWalls
{ {
type mutWallFunction; type mutWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0; value uniform 0;
} }
} }