rhoPisoFoam tutorial update

This commit is contained in:
andy
2009-06-18 15:56:51 +01:00
parent de43fc4736
commit 3393036e8f
7 changed files with 426 additions and 28 deletions

View File

@ -23,13 +23,13 @@ boundaryField
{ {
movingWall movingWall
{ {
type epsilonWallFunction; type compressible::epsilonWallFunction;
value uniform 0; value uniform 0;
} }
fixedWalls fixedWalls
{ {
type epsilonWallFunction; type compressible::epsilonWallFunction;
value uniform 0; value uniform 0;
} }

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ]; dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.00325; internalField uniform 0.00325;
@ -23,16 +23,14 @@ boundaryField
{ {
movingWall movingWall
{ {
type kQRWallFunction; type compressible::kQRWallFunction;
value uniform 0; value uniform 0;
} }
fixedWalls fixedWalls
{ {
type kQRWallFunction; type compressible::kQRWallFunction;
value uniform 0; value uniform 0;
} }
frontAndBack frontAndBack
{ {
type empty; type empty;

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -1 0 0 0 0 ]; dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0; internalField uniform 0;
@ -26,13 +26,11 @@ boundaryField
type mutWallFunction; type mutWallFunction;
value uniform 0; value uniform 0;
} }
fixedWalls fixedWalls
{ {
type mutWallFunction; type mutWallFunction;
value uniform 0; value uniform 0;
} }
frontAndBack frontAndBack
{ {
type empty; type empty;

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 0 -1 0 0 0 0 ]; dimensions [0 0 -1 0 0 0 0];
internalField uniform 2.6; internalField uniform 2.6;
@ -23,16 +23,14 @@ boundaryField
{ {
movingWall movingWall
{ {
type omegaWallFunction; type compressible::omegaWallFunction;
value uniform 0; value uniform 0;
} }
fixedWalls fixedWalls
{ {
type omegaWallFunction; type compressible::omegaWallFunction;
value uniform 0; value uniform 0;
} }
frontAndBack frontAndBack
{ {
type empty; type empty;

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; thermoType hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;
mixture air 1 28.9 1007 0 1.84e-05 0.7; mixture air 1 28.9 1007 0 1.84e-05 0.7;

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.5 | | \\ / O peration | Version: dev |
| \\ / 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 "0";
object T; object T;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -23,19 +24,422 @@ boundaryField
floor floor
{ {
type fixedValue; type fixedValue;
value uniform 300; value nonuniform List<scalar>
400
(
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
600
600
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
600
600
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
)
;
} }
ceiling ceiling
{ {
type fixedValue; type fixedValue;
value uniform 300; value uniform 300;
} }
fixedWalls fixedWalls
{ {
type zeroGradient; type zeroGradient;
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; thermoType hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;
mixture air 1 28.9 1000 0 1.8e-05 0.7; mixture air 1 28.9 1000 0 1.8e-05 0.7;