forLiquids.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 forLiquids_H
27 #define forLiquids_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 forLiquidEquations(Mu, He, Cp, Macro, Args...) \
52  forThermo(Mu, He, Cp, adiabaticPerfectFluid, specie, Macro, Args); \
53  forThermo(Mu, He, Cp, rhoConst, specie, Macro, Args); \
54  forThermo(Mu, He, Cp, rPolynomial, specie, Macro, Args)
55 
56 #define forLiquidEnergiesAndThermos(Mu, Macro, Args...) \
57  forLiquidEquations(Mu, sensibleEnthalpy, hConstThermo, Macro, Args); \
58  forLiquidEquations(Mu, sensibleInternalEnergy, eConstThermo, Macro, Args); \
59  forLiquidEquations(Mu, sensibleInternalEnergy, hConstThermo, Macro, Args)
60 
61 #define forLiquidTransports(Macro, Args...) \
62  forLiquidEnergiesAndThermos(constTransport, Macro, Args); \
63  forLiquidEnergiesAndThermos(WLFTransport, Macro, Args)
64 
65 #define forLiquids(Macro, Args...) \
66  forLiquidTransports(Macro, Args)
67 
68 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
69 
70 #endif
71 
72 // ************************************************************************* //