ENH: Minor modifications to tutorial settings for combustion

This commit is contained in:
sergio
2011-07-14 09:40:14 +01:00
parent 1b7502f6e7
commit 57aa5cc838
6 changed files with 99 additions and 8 deletions

View File

@ -0,0 +1,53 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object omega;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
outlet
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
sides
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
base
{
type zeroGradient;
}
inlet
{
type fixedValue;
value uniform 0.0;
}
frontBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -15,31 +15,37 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
4
5
(
base
{
type patch;
nFaces 150;
nFaces 134;
startFace 44700;
}
outlet
{
type patch;
nFaces 150;
startFace 44850;
startFace 44834;
}
sides
{
type patch;
nFaces 300;
startFace 45000;
startFace 44984;
}
frontAndBack
{
type empty;
nFaces 45000;
startFace 45300;
startFace 45284;
}
inlet
{
type patch;
nFaces 16;
startFace 90284;
}
)

View File

@ -40,7 +40,9 @@ divSchemes
hs limitedLinear 1;
};
div((muEff*dev2(T(grad(U))))) Gauss linear;
div(phi,omega) Gauss limitedLinear 1;
div(phiU,p) Gauss linear;
div(U) Gauss linear;
div(Ji,Ii_h) Gauss upwind;
}

View File

@ -53,7 +53,7 @@ solvers
};
"(U|Yi|k|hs)"
"(U|Yi|k|hs|omega)"
{
solver PBiCG;
preconditioner DILU;
@ -62,7 +62,7 @@ solvers
nSweeps 1;
};
"(U|Yi|k|hs)Final"
"(U|Yi|k|hs|omega)Final"
{
$U;
tolerance 1e-7;