OpenFOAM: API Guide
v2112
The open source CFD toolbox
makeChemistryReaders.C
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2011-2015 OpenFOAM Foundation
9
-------------------------------------------------------------------------------
10
License
11
This file is part of OpenFOAM.
12
13
OpenFOAM is free software: you can redistribute it and/or modify it
14
under the terms of the GNU General Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26
\*---------------------------------------------------------------------------*/
27
28
#include "
makeReactionThermo.H
"
29
#include "
thermoPhysicsTypes.H
"
30
#include "
solidThermoPhysicsTypes.H
"
31
32
#include "
chemistryReader.H
"
33
#include "
foamChemistryReader.H
"
34
35
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
36
37
namespace
Foam
38
{
39
40
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41
42
// Solid chemistry readers based on sensibleEnthalpy
43
44
makeChemistryReader
(
constGasHThermoPhysics
);
45
makeChemistryReader
(
gasHThermoPhysics
);
46
makeChemistryReader
(
constIncompressibleGasHThermoPhysics
);
47
makeChemistryReader
(
incompressibleGasHThermoPhysics
);
48
makeChemistryReader
(
icoPoly8HThermoPhysics
);
49
makeChemistryReader
(
constFluidHThermoPhysics
);
50
makeChemistryReader
(
constAdiabaticFluidHThermoPhysics
);
51
makeChemistryReader
(
constHThermoPhysics
);
52
53
54
makeChemistryReaderType
(
foamChemistryReader
,
constGasHThermoPhysics
);
55
makeChemistryReaderType
(
foamChemistryReader
,
gasHThermoPhysics
);
56
makeChemistryReaderType
57
(
58
foamChemistryReader
,
59
constIncompressibleGasHThermoPhysics
60
);
61
makeChemistryReaderType
(
foamChemistryReader
,
incompressibleGasHThermoPhysics
);
62
makeChemistryReaderType
(
foamChemistryReader
,
icoPoly8HThermoPhysics
);
63
makeChemistryReaderType
(
foamChemistryReader
,
constFluidHThermoPhysics
);
64
makeChemistryReaderType
(
foamChemistryReader
,
constAdiabaticFluidHThermoPhysics
);
65
makeChemistryReaderType
(
foamChemistryReader
,
constHThermoPhysics
);
66
67
68
69
// Solid chemistry readers based on sensibleInternalEnergy
70
71
makeChemistryReader
(
constGasEThermoPhysics
);
72
makeChemistryReader
(
gasEThermoPhysics
);
73
makeChemistryReader
(
constIncompressibleGasEThermoPhysics
);
74
makeChemistryReader
(
incompressibleGasEThermoPhysics
);
75
makeChemistryReader
(
icoPoly8EThermoPhysics
);
76
makeChemistryReader
(
constFluidEThermoPhysics
);
77
makeChemistryReader
(
constAdiabaticFluidEThermoPhysics
);
78
makeChemistryReader
(
constEThermoPhysics
);
79
80
81
makeChemistryReaderType
(
foamChemistryReader
,
constGasEThermoPhysics
);
82
makeChemistryReaderType
(
foamChemistryReader
,
gasEThermoPhysics
);
83
makeChemistryReaderType
84
(
85
foamChemistryReader
,
86
constIncompressibleGasEThermoPhysics
87
);
88
makeChemistryReaderType
(
foamChemistryReader
,
incompressibleGasEThermoPhysics
);
89
makeChemistryReaderType
(
foamChemistryReader
,
icoPoly8EThermoPhysics
);
90
makeChemistryReaderType
(
foamChemistryReader
,
constFluidEThermoPhysics
);
91
makeChemistryReaderType
(
foamChemistryReader
,
constAdiabaticFluidEThermoPhysics
);
92
makeChemistryReaderType
(
foamChemistryReader
,
constEThermoPhysics
);
93
94
95
// Solid chemistry readers for solids based on sensibleInternalEnergy
96
97
makeChemistryReader
(
hConstSolidThermoPhysics
);
98
makeChemistryReader
(
hPowerSolidThermoPhysics
);
99
makeChemistryReader
(
hExpKappaConstSolidThermoPhysics
);
100
101
makeChemistryReaderType
(
foamChemistryReader
,
hConstSolidThermoPhysics
);
102
makeChemistryReaderType
(
foamChemistryReader
,
hPowerSolidThermoPhysics
);
103
makeChemistryReaderType
(
foamChemistryReader
,
hExpKappaConstSolidThermoPhysics
);
104
105
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106
107
}
// End namespace Foam
108
109
// ************************************************************************* //
chemistryReader.H
makeChemistryReaderType
#define makeChemistryReaderType(Reader, Thermo)
Definition:
chemistryReader.H:143
makeChemistryReader
#define makeChemistryReader(Thermo)
Definition:
chemistryReader.H:138
Foam::constIsoSolidTransport
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
Definition:
constIsoSolidTransport.H:76
Foam::constTransport
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
Definition:
constTransport.H:85
Foam::exponentialSolidTransport
Exponential properties for solid heat transport Templated into a given thermodynamics package.
Definition:
exponentialSolidTransport.H:74
Foam::foamChemistryReader
Chemistry reader for OpenFOAM format.
Definition:
foamChemistryReader.H:62
Foam::polynomialTransport
Transport package using polynomial functions for mu and kappa.
Definition:
polynomialTransport.H:130
Foam::sutherlandTransport
Transport package using Sutherland's formula.
Definition:
sutherlandTransport.H:91
foamChemistryReader.H
makeReactionThermo.H
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:34
solidThermoPhysicsTypes.H
Type definitions for solid-thermo-physics models.
thermoPhysicsTypes.H
Type definitions for thermo-physics models.
src
thermophysicalModels
reactionThermo
chemistryReaders
chemistryReader
makeChemistryReaders.C
Generated by
1.9.5
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.