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 "eConstThermo.H"
43 #include "janafThermo.H"
44 
45 #include "sensibleEnthalpy.H"
46 #include "sensibleInternalEnergy.H"
47 #include "thermo.H"
48 #include "sutherlandTransport.H"
49 #include "constTransport.H"
50 
51 #include "icoPolynomial.H"
52 #include "hPolynomialThermo.H"
53 #include "polynomialTransport.H"
54 
55 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
56 
57 namespace Foam
58 {
59  // thermo physics types based on sensibleEnthalpy
60  typedef
61  constTransport
62  <
64  <
65  hConstThermo
66  <
67  perfectGas<specie>
68  >,
69  sensibleEnthalpy
70  >
72 
73  typedef
75  <
77  <
79  <
80  perfectGas<specie>
81  >,
83  >
85 
86  typedef
88  <
90  <
92  <
94  >,
96  >
98 
99  typedef
101  <
103  <
105  <
106  incompressiblePerfectGas<specie>
107  >,
109  >
111 
112  typedef
114  <
116  <
118  <
120  8
121  >,
123  >,
124  8
126 
127  typedef
129  <
131  <
133  <
135  >,
136  sensibleEnthalpy
137  >
138  >
140 
141  typedef
143  <
145  <
147  <
149  >,
150  sensibleEnthalpy
151  >
152  >
154 
155  typedef
157  <
159  <
161  <
163  >,
164  sensibleEnthalpy
165  >
166  >
168 
169 
170  // thermo physics types based on sensibleInternalEnergy
171  typedef
173  <
175  <
177  <
178  perfectGas<specie>
179  >,
181  >
183 
184  typedef
186  <
188  <
190  <
191  perfectGas<specie>
192  >,
194  >
196 
197  typedef
199  <
201  <
203  <
204  incompressiblePerfectGas<specie>
205  >,
207  >
209 
210  typedef
212  <
214  <
216  <
217  incompressiblePerfectGas<specie>
218  >,
220  >
222 
223  typedef
225  <
227  <
229  <
230  icoPolynomial<specie, 8>,
231  8
232  >,
234  >,
235  8
237 
238  typedef
240  <
242  <
244  <
245  perfectFluid<specie>
246  >,
247  sensibleInternalEnergy
248  >
249  >
251 
252  typedef
254  <
256  <
258  <
259  adiabaticPerfectFluid<specie>
260  >,
261  sensibleInternalEnergy
262  >
263  >
265 
266  typedef
268  <
270  <
272  <
273  rhoConst<specie>
274  >,
275  sensibleInternalEnergy
276  >
277  >
279 }
280 
281 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
282 
283 #endif
284 
285 // ************************************************************************* //
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
constTransport< species::thermo< eConstThermo< perfectFluid< specie > >, sensibleInternalEnergy > > constFluidEThermoPhysics
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
constTransport< species::thermo< eConstThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > constIncompressibleGasEThermoPhysics
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
Constant properties thermodynamics package templated on an equation of state.
Definition: eConstThermo.H:48
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleEnthalpy > > incompressibleGasHThermoPhysics
constTransport< species::thermo< eConstThermo< rhoConst< specie > >, sensibleInternalEnergy > > constEThermoPhysics
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleEnthalpy > > constHThermoPhysics
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > incompressibleGasEThermoPhysics
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< eConstThermo< perfectGas< specie > >, sensibleInternalEnergy > > constGasEThermoPhysics
constTransport< species::thermo< hConstThermo< adiabaticPerfectFluid< specie > >, sensibleEnthalpy > > constAdiabaticFluidHThermoPhysics
Transport package using polynomial functions for mu and kappa.
Namespace for OpenFOAM.
constTransport< species::thermo< eConstThermo< adiabaticPerfectFluid< specie > >, sensibleInternalEnergy > > constAdiabaticFluidEThermoPhysics
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleEnthalpy > > gasHThermoPhysics