TUT: Tutorial updates - see #600

This commit is contained in:
Andrew Heather
2017-09-26 12:25:50 +01:00
parent ba331942be
commit ffb0409942
17 changed files with 34 additions and 43 deletions

View File

@ -18,7 +18,7 @@ FoamFile
chemistryType chemistryType
{ {
chemistrySolver noChemistrySolver; chemistrySolver noChemistrySolver;
chemistryThermo psi; chemistryThermo rho;
} }
chemistry off; chemistry off;

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel PaSR<psiChemistryCombustion>; combustionModel PaSR<rhoChemistryCombustion>;
active false; active false;

View File

@ -17,7 +17,7 @@ FoamFile
thermoType thermoType
{ {
type hePsiThermo; type heRhoThermo;
mixture reactingMixture; mixture reactingMixture;
transport sutherland; transport sutherland;
thermo janaf; thermo janaf;

View File

@ -18,7 +18,7 @@ FoamFile
chemistryType chemistryType
{ {
chemistrySolver noChemistrySolver; chemistrySolver noChemistrySolver;
chemistryThermo psi; chemistryThermo rho;
} }
chemistry off; chemistry off;

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel laminar<psiChemistryCombustion>; combustionModel laminar<rhoChemistryCombustion>;
active false; active false;

View File

@ -17,7 +17,7 @@ FoamFile
thermoType thermoType
{ {
type hePsiThermo; type heRhoThermo;
mixture reactingMixture; mixture reactingMixture;
transport sutherland; transport sutherland;
thermo janaf; thermo janaf;

View File

@ -18,7 +18,7 @@ FoamFile
chemistryType chemistryType
{ {
chemistrySolver noChemistrySolver; chemistrySolver noChemistrySolver;
chemistryThermo psi; chemistryThermo rho;
} }
chemistry off; chemistry off;

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel laminar<psiChemistryCombustion>; combustionModel laminar<rhoChemistryCombustion>;
active false; active false;

View File

@ -17,7 +17,7 @@ FoamFile
thermoType thermoType
{ {
type hePsiThermo; type heRhoThermo;
mixture reactingMixture; mixture reactingMixture;
transport sutherland; transport sutherland;
thermo janaf; thermo janaf;

View File

@ -18,7 +18,7 @@ FoamFile
chemistryType chemistryType
{ {
chemistrySolver noChemistrySolver; chemistrySolver noChemistrySolver;
chemistryThermo psi; chemistryThermo rho;
} }
chemistry off; chemistry off;

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel laminar<psiChemistryCombustion>; combustionModel laminar<rhoChemistryCombustion>;
active false; active false;

View File

@ -17,7 +17,7 @@ FoamFile
thermoType thermoType
{ {
type hePsiThermo; type heRhoThermo;
mixture reactingMixture; mixture reactingMixture;
transport sutherland; transport sutherland;
thermo janaf; thermo janaf;

View File

@ -10,12 +10,11 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "1";
object p; object p;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -2 0 0 0 0 ]; dimensions [1 -1 -2 0 0 0 0];
internalField uniform 100000; internalField uniform 100000;
@ -23,33 +22,42 @@ boundaryField
{ {
walls walls
{ {
type zeroGradient; type calculated;
value $internalField;
} }
inlet inlet
{ {
type zeroGradient; type calculated;
value $internalField;
} }
outlet outlet
{ {
type fixedValue; type calculated;
value uniform 100000; value $internalField;
} }
cycLeft_half0 cycLeft_half0
{ {
type cyclic; type cyclic;
} }
cycRight_half0 cycRight_half0
{ {
type cyclic; type cyclic;
} }
frontAndBack frontAndBack
{ {
type empty; type empty;
} }
cycLeft_half1 cycLeft_half1
{ {
type cyclic; type cyclic;
} }
cycRight_half1 cycRight_half1
{ {
type cyclic; type cyclic;

View File

@ -15,15 +15,12 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel PaSR<rhoChemistryCombustion>; combustionModel laminar<rhoChemistryCombustion>;
active false; active false;
PaSRCoeffs laminarCoeffs
{ {}
Cmix 1.0;
turbulentReaction off;
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -36,16 +36,11 @@ foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
liquids liquids
{ {
H2O H2O;
{
defaultCoeffs yes;
}
} }
solids solids
{ {}
// none
}
inertSpecie N2; inertSpecie N2;

View File

@ -47,23 +47,17 @@ solvers
relTol 0; relTol 0;
} }
p p_rgh
{ {
solver GAMG; solver GAMG;
tolerance 0; tolerance 0;
relTol 0.1; relTol 0.1;
smoother GaussSeidel; smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
} }
pFinal p_rghFinal
{ {
$p; $p_rgh;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
} }
@ -99,9 +93,6 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
fields
{
}
equations equations
{ {
".*Final" 1; ".*Final" 1;