forCommonLiquids.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) 2020 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 #ifndef forCommonLiquids_H
27 #define forCommonLiquids_H
28 
29 #include "specie.H"
30 
31 #include "adiabaticPerfectFluid.H"
32 #include "perfectFluid.H"
33 #include "rhoConst.H"
34 #include "rPolynomial.H"
35 
36 #include "eConstThermo.H"
37 #include "hConstThermo.H"
38 
39 #include "sensibleEnthalpy.H"
40 #include "sensibleInternalEnergy.H"
41 
42 #include "constTransport.H"
43 #include "WLFTransport.H"
44 
45 #include "thermo.H"
46 
47 #include "forThermo.H"
48 
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 
51 #define forCommonLiquidEqns(Mu, He, Cp, Macro, Args...) \
52  forThermo(Mu, He, Cp, rhoConst, specie, Macro, Args); \
53  forThermo(Mu, He, Cp, rPolynomial, specie, Macro, Args)
54 
55 #define forCommonLiquidEnergiesAndThermos(Mu, Macro, Args...) \
56  forCommonLiquidEqns(Mu, sensibleEnthalpy, hConstThermo, Macro, Args); \
57  forCommonLiquidEqns(Mu, sensibleInternalEnergy, eConstThermo, Macro, Args);\
58  forCommonLiquidEqns(Mu, sensibleInternalEnergy, hConstThermo, Macro, Args)
59 
60 #define forCommonLiquidTransports(Macro, Args...) \
61  forCommonLiquidEnergiesAndThermos(constTransport, Macro, Args);
62 
63 #define forCommonLiquids(Macro, Args...) \
64  forCommonLiquidTransports(Macro, Args)
65 
66 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
67 
68 #endif
69 
70 // ************************************************************************* //