tutorials/combustion/fireFoam/les/oppositeBurningPanels: Improved schemes and BCs

This commit is contained in:
Henry Weller 2015-11-14 19:31:06 +00:00
parent 55f7d50be1
commit f4695953aa
5 changed files with 31 additions and 34 deletions

View File

@ -27,13 +27,6 @@ boundaryField
value $internalField;
}
top
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
burner
{
type flowRateInletVelocity;
@ -41,7 +34,7 @@ boundaryField
value uniform (0 0 0);
}
sides
"(top|sides)"
{
type pressureInletOutletVelocity;
phi phi;

View File

@ -27,19 +27,13 @@ boundaryField
value $internalField;
}
top
{
type zeroGradient;
value $internalField;
}
burner
{
type fixedFluxPressure;
value $internalField;
}
sides
"(top|sides)"
{
type totalPressure;
U U;

View File

@ -0,0 +1,21 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class uniformDimensionedScalarField;
location "constant";
object hRef;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
value 4.2;
// ************************************************************************* //

View File

@ -28,9 +28,10 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) Gauss limitedLinear 1;
div(phi,U) Gauss LUST grad(U);
div(phi,K) Gauss limitedLinear 1;
div(phi,k) Gauss limitedLinear 1;
div(phi,Yi_h) Gauss multivariateSelection
div(phi,Yi_h) Gauss multivariateSelection
{
O2 linearUpwind grad(O2);
N2 linearUpwind grad(N2);
@ -40,7 +41,6 @@ divSchemes
h linearUpwind grad(h);
};
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
div(phi,K) Gauss limitedLinear 1;
div(Ji,Ii_h) Gauss upwind;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
rho
"rho.*"
{
solver PCG;
preconditioner DIC;
@ -25,12 +25,6 @@ solvers
relTol 0;
};
"(rho)Final"
{
$rho;
relTol 0;
}
p_rgh
{
solver GAMG;
@ -39,18 +33,16 @@ solvers
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
agglomerator faceAreaPair;
mergeLevels 1;
};
p_rghFinal
{
$p_rgh;
tolerance 1e-6;
relTol 0;
};
"(U|Yi|k|h|omega)"
{
solver PBiCG;
@ -63,11 +55,9 @@ solvers
"(U|Yi|k|h|omega)Final"
{
$U;
tolerance 1e-6;
relTol 0;
};
Ii
{
solver GAMG;
@ -90,7 +80,6 @@ solvers
tolerance 1e-04;
relTol 0;
}
}
PIMPLE
@ -105,9 +94,9 @@ relaxationFactors
{
equations
{
"(U|k).*" 1;
"(C3H8|O2|H2O|CO2|h).*" 1;
".*" 1;
}
}
// ************************************************************************* //