liquidThermos.C
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) 2017-2023 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 \*---------------------------------------------------------------------------*/
25 
26 #include "liquidThermo.H"
27 
28 #include "pureMixture.H"
29 
31 #include "sensibleInternalEnergy.H"
32 #include "sensibleEnthalpy.H"
33 #include "thermo.H"
34 
35 #include "makeThermo.H"
36 
37 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
38 
39 #define makeLiquidThermo(ThermoPhysics) \
40  \
41  defineThermo(liquidThermo, pureMixture, ThermoPhysics); \
42  \
43  addThermo(basicThermo, liquidThermo, pureMixture, ThermoPhysics); \
44  addThermo(fluidThermo, liquidThermo, pureMixture, ThermoPhysics); \
45  addThermo(rhoFluidThermo, liquidThermo, pureMixture, ThermoPhysics); \
46  addThermo(liquidThermo, liquidThermo, pureMixture, ThermoPhysics)
47 
48 namespace Foam
49 {
50  typedef
51  species::thermo<liquidPropertiesSelector, sensibleInternalEnergy>
53 
55 
56  typedef
59 
61 }
62 
63 // ************************************************************************* //
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Definition: thermo.H:92
#define makeLiquidThermo(ThermoPhysics)
Definition: liquidThermos.C:39
Macros for creating basic thermo packages.
Namespace for OpenFOAM.
species::thermo< liquidPropertiesSelector, sensibleEnthalpy > liquidSensibleEnthalpy
Definition: liquidThermos.C:58
species::thermo< liquidPropertiesSelector, sensibleInternalEnergy > liquidSensibleInternalEnergy
Definition: liquidThermos.C:52