diff --git a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/U b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/U index f5e2ba0301de694602c496a6070faad3b4426951..9956821b4e9af2a31ead410d25c99e899aae3910 100644 --- a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/U +++ b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/U @@ -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; diff --git a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/p_rgh b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/p_rgh index f0770e8bd9f126c2b835c19726d70b454ea2a2d4..8beb741369d881141ca13d83aab6e49d9eff2de8 100644 --- a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/p_rgh +++ b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/0/p_rgh @@ -27,19 +27,13 @@ boundaryField value $internalField; } - top - { - type zeroGradient; - value $internalField; - } - burner { type fixedFluxPressure; value $internalField; } - sides + "(top|sides)" { type totalPressure; U U; diff --git a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/constant/hRef b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/constant/hRef new file mode 100644 index 0000000000000000000000000000000000000000..9bd140541c3dcc8043dd7b7d1f1542cd9181ad31 --- /dev/null +++ b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/constant/hRef @@ -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; + +// ************************************************************************* // diff --git a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/system/fvSchemes b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/system/fvSchemes index f28d6fcd166d37ce00d91ac75a2659dc87f5ab57..d28d02ca9c52a35b605b9e83322c0960923af5bb 100644 --- a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/system/fvSchemes +++ b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/system/fvSchemes @@ -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; } diff --git a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/system/fvSolution b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/system/fvSolution index 47cd5fb2fe1f11542b76442b6f45d5905508e80e..5691a3dbd97c284dbe98cbc74cdcdf9f9892cd7d 100644 --- a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/system/fvSolution +++ b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/system/fvSolution @@ -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; } } + // ************************************************************************* //