ENH: Avoid constant/polyMesh/blockMeshDict (issue #309)

- relocate to system/blockMeshDict, which avoids it being cleaned out
  accidentally
This commit is contained in:
Mark Olesen
2016-11-20 16:50:47 +01:00
parent 8ba4e3c370
commit f3cc16e42c
21 changed files with 35 additions and 23 deletions

View File

@ -0,0 +1,30 @@
species
(
O2
H2O
CH4
CO2
CO
N2
);
reactions
{
methaneReaction
{
type irreversibleArrheniusReaction;
reaction "CH4^0.9 + 2O2^1.1 = CO + 2H2O";
A 2.119e12;
beta 0;
Ta 17676;
}
COReaction
{
type irreversibleArrheniusReaction;
reaction "CO + 0.5O2^0.25 = CO2";
A 1e6;
beta 0;
Ta 6060;
}
}

View File

@ -0,0 +1,40 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type hePsiThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}
inertSpecie N2;
fuel CH4;
chemistryReader foamChemistryReader;
foamChemistryFile "$FOAM_CASE/constant/reactions";
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
// ************************************************************************* //