thermoPhysicsTypes.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 Typedefs
25  Foam::thermoPhysicsTypes
26 
27 Description
28  Type definitions for thermo-physics models
29 
30 \*---------------------------------------------------------------------------*/
31 
32 #ifndef thermoPhysicsTypes_H
33 #define thermoPhysicsTypes_H
34 
35 #include "specie.H"
36 #include "perfectGas.H"
38 #include "perfectFluid.H"
39 #include "adiabaticPerfectFluid.H"
40 #include "rhoConst.H"
41 #include "hConstThermo.H"
42 #include "janafThermo.H"
43 
44 #include "sensibleEnthalpy.H"
45 #include "sensibleInternalEnergy.H"
46 #include "thermo.H"
47 #include "sutherlandTransport.H"
48 #include "constTransport.H"
49 
50 #include "icoPolynomial.H"
51 #include "hPolynomialThermo.H"
52 #include "polynomialTransport.H"
53 
54 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
55 
56 namespace Foam
57 {
58  // thermo physics types based on sensibleEnthalpy
59  typedef
60  constTransport
61  <
63  <
64  hConstThermo
65  <
66  perfectGas<specie>
67  >,
68  sensibleEnthalpy
69  >
71 
72  typedef
74  <
76  <
78  <
79  perfectGas<specie>
80  >,
82  >
84 
85  typedef
87  <
89  <
91  <
93  >,
95  >
97 
98  typedef
100  <
102  <
104  <
105  incompressiblePerfectGas<specie>
106  >,
108  >
110 
111  typedef
113  <
115  <
117  <
119  8
120  >,
122  >,
123  8
125 
126  typedef
128  <
130  <
132  <
134  >,
135  sensibleEnthalpy
136  >
137  >
139 
140  typedef
142  <
144  <
146  <
148  >,
149  sensibleEnthalpy
150  >
151  >
153 
154  typedef
156  <
158  <
160  <
162  >,
163  sensibleEnthalpy
164  >
165  >
167 
168 
169  // thermo physics types based on sensibleInternalEnergy
170  typedef
172  <
174  <
176  <
177  perfectGas<specie>
178  >,
180  >
182 
183  typedef
185  <
187  <
189  <
190  perfectGas<specie>
191  >,
193  >
195 
196  typedef
198  <
200  <
202  <
203  incompressiblePerfectGas<specie>
204  >,
206  >
208 
209  typedef
211  <
213  <
215  <
216  incompressiblePerfectGas<specie>
217  >,
219  >
221 
222  typedef
224  <
226  <
228  <
229  icoPolynomial<specie, 8>,
230  8
231  >,
233  >,
234  8
236 
237  typedef
239  <
241  <
243  <
244  perfectFluid<specie>
245  >,
246  sensibleInternalEnergy
247  >
248  >
250 
251  typedef
253  <
255  <
257  <
258  adiabaticPerfectFluid<specie>
259  >,
260  sensibleInternalEnergy
261  >
262  >
264 
265  typedef
267  <
269  <
271  <
272  rhoConst<specie>
273  >,
274  sensibleInternalEnergy
275  >
276  >
278 }
279 
280 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
281 
282 #endif
283 
284 // ************************************************************************* //
Constant properties thermodynamics package templated into the EquationOfState.
Definition: hConstThermo.H:46
Incompressible, polynomial form of equation of state, using a polynomial function for density...
Definition: icoPolynomial.H:82
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
Incompressible gas equation of state using a constant reference pressure in the perfect gas equation ...
Thermodynamics package templated on the equation of state, using polynomial functions for cp...
rhoReactionThermo & thermo
Definition: createFields.H:28
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleInternalEnergy > > gasEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectGas< specie > >, sensibleEnthalpy > > constGasHThermoPhysics
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleEnthalpy > > incompressibleGasHThermoPhysics
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleInternalEnergy > > constEThermoPhysics
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleEnthalpy > > constHThermoPhysics
constTransport< species::thermo< hConstThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > constIncompressibleGasEThermoPhysics
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > incompressibleGasEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectFluid< specie > >, sensibleInternalEnergy > > constFluidEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectFluid< specie > >, sensibleEnthalpy > > constFluidHThermoPhysics
Thermodynamics mapping class to expose the sensible enthalpy functions.
Perfect gas equation of state.
Definition: perfectFluid.H:47
polynomialTransport< species::thermo< hPolynomialThermo< icoPolynomial< specie, 8 >, 8 >, sensibleEnthalpy >, 8 > icoPoly8HThermoPhysics
constTransport< species::thermo< hConstThermo< incompressiblePerfectGas< specie > >, sensibleEnthalpy > > constIncompressibleGasHThermoPhysics
Adiabatic perfect fluid equation of state.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Definition: thermo.H:52
polynomialTransport< species::thermo< hPolynomialThermo< icoPolynomial< specie, 8 >, 8 >, sensibleInternalEnergy >, 8 > icoPoly8EThermoPhysics
JANAF tables based thermodynamics package templated into the equation of state.
Definition: janafThermo.H:49
Thermodynamics mapping class to expose the sensible internal energy functions.
Transport package using Sutherland&#39;s formula.
RhoConst (rho = const) of state.
Definition: rhoConst.H:47
constTransport< species::thermo< hConstThermo< adiabaticPerfectFluid< specie > >, sensibleEnthalpy > > constAdiabaticFluidHThermoPhysics
Transport package using polynomial functions for mu and kappa.
constTransport< species::thermo< hConstThermo< adiabaticPerfectFluid< specie > >, sensibleInternalEnergy > > constAdiabaticFluidEThermoPhysics
Namespace for OpenFOAM.
constTransport< species::thermo< hConstThermo< perfectGas< specie > >, sensibleInternalEnergy > > constGasEThermoPhysics
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleEnthalpy > > gasHThermoPhysics