Commit 07cf12c3 authored by Andrew Heather's avatar Andrew Heather
Browse files

TUT: Tutorial updates - see #600

parent 2266eedb
......@@ -18,7 +18,7 @@ FoamFile
chemistryType
{
chemistrySolver noChemistrySolver;
chemistryThermo psi;
chemistryThermo rho;
}
chemistry off;
......
......@@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel PaSR<psiChemistryCombustion>;
combustionModel PaSR<rhoChemistryCombustion>;
active false;
......
......@@ -17,7 +17,7 @@ FoamFile
thermoType
{
type hePsiThermo;
type heRhoThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
......
......@@ -18,7 +18,7 @@ FoamFile
chemistryType
{
chemistrySolver noChemistrySolver;
chemistryThermo psi;
chemistryThermo rho;
}
chemistry off;
......
......@@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel laminar<psiChemistryCombustion>;
combustionModel laminar<rhoChemistryCombustion>;
active false;
......
......@@ -17,7 +17,7 @@ FoamFile
thermoType
{
type hePsiThermo;
type heRhoThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
......
......@@ -18,7 +18,7 @@ FoamFile
chemistryType
{
chemistrySolver noChemistrySolver;
chemistryThermo psi;
chemistryThermo rho;
}
chemistry off;
......
......@@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel laminar<psiChemistryCombustion>;
combustionModel laminar<rhoChemistryCombustion>;
active false;
......
......@@ -17,7 +17,7 @@ FoamFile
thermoType
{
type hePsiThermo;
type heRhoThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
......
......@@ -18,7 +18,7 @@ FoamFile
chemistryType
{
chemistrySolver noChemistrySolver;
chemistryThermo psi;
chemistryThermo rho;
}
chemistry off;
......
......@@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel laminar<psiChemistryCombustion>;
combustionModel laminar<rhoChemistryCombustion>;
active false;
......
......@@ -17,7 +17,7 @@ FoamFile
thermoType
{
type hePsiThermo;
type heRhoThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
......
......@@ -10,12 +10,11 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "1";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -2 0 0 0 0 ];
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 100000;
......@@ -23,33 +22,42 @@ boundaryField
{
walls
{
type zeroGradient;
type calculated;
value $internalField;
}
inlet
{
type zeroGradient;
type calculated;
value $internalField;
}
outlet
{
type fixedValue;
value uniform 100000;
type calculated;
value $internalField;
}
cycLeft_half0
{
type cyclic;
}
cycRight_half0
{
type cyclic;
}
frontAndBack
{
type empty;
}
cycLeft_half1
{
type cyclic;
}
cycRight_half1
{
type cyclic;
......
......@@ -15,15 +15,12 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel PaSR<rhoChemistryCombustion>;
combustionModel laminar<rhoChemistryCombustion>;
active false;
PaSRCoeffs
{
Cmix 1.0;
turbulentReaction off;
}
laminarCoeffs
{}
// ************************************************************************* //
......@@ -36,16 +36,11 @@ foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
liquids
{
H2O
{
defaultCoeffs yes;
}
H2O;
}
solids
{
// none
}
{}
inertSpecie N2;
......
......@@ -47,23 +47,17 @@ solvers
relTol 0;
}
p
p_rgh
{
solver GAMG;
tolerance 0;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
pFinal
p_rghFinal
{
$p;
$p_rgh;
tolerance 1e-06;
relTol 0;
}
......@@ -99,9 +93,6 @@ PIMPLE
relaxationFactors
{
fields
{
}
equations
{
".*Final" 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment