multiphaseThermophysicalTransportModels.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) 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 
30 
34 
35 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
36 
38 (
39  PhaseThermophysicalTransportModel,
41  rhoThermo
42 );
43 
44 
46 (
47  PhaseThermophysicalTransportModel,
49  rhoThermo
50 );
51 
52 
53 #define makeLaminarThermophysicalTransportModel(Type) \
54  makeThermophysicalTransportModel \
55  ( \
56  PhaseThermophysicalTransportModel, \
57  phaseCompressibleMomentumTransportModel, \
58  rhoThermo, \
59  laminar, \
60  Type \
61  )
62 
63 #define makeRASLESThermophysicalTransportModel(SType, Type) \
64  makeTurbulenceThermophysicalTransportModel \
65  ( \
66  PhaseThermophysicalTransportModel, \
67  phaseCompressibleMomentumTransportModel, \
68  rhoThermo, \
69  SType, \
70  Type \
71  )
72 
73 #define makeRASThermophysicalTransportModel(Type) \
74  makeThermophysicalTransportModel \
75  ( \
76  PhaseThermophysicalTransportModel, \
77  phaseCompressibleMomentumTransportModel, \
78  rhoThermo, \
79  RAS, \
80  Type \
81  )
82 
83 #define makeLESThermophysicalTransportModel(Type) \
84  makeThermophysicalTransportModel \
85  ( \
86  PhaseThermophysicalTransportModel, \
87  phaseCompressibleMomentumTransportModel, \
88  rhoThermo, \
89  LES, \
90  Type \
91  )
92 
93 
94 // -------------------------------------------------------------------------- //
95 // Laminar models
96 // -------------------------------------------------------------------------- //
97 
98 #include "Fourier.H"
100 
101 
102 // -------------------------------------------------------------------------- //
103 // RAS models
104 // -------------------------------------------------------------------------- //
105 
106 #include "eddyDiffusivity.H"
107 makeRASLESThermophysicalTransportModel(RAS, eddyDiffusivity);
108 
109 
110 // -------------------------------------------------------------------------- //
111 // LES models
112 // -------------------------------------------------------------------------- //
113 
114 #include "eddyDiffusivity.H"
115 makeRASLESThermophysicalTransportModel(LES, eddyDiffusivity);
116 
117 
118 // ************************************************************************* //
PhaseCompressibleMomentumTransportModel< phaseModel > phaseCompressibleMomentumTransportModel
Typedef for phaseCompressibleMomentumTransportModel.
#define makeThermophysicalTransportModels( BaseModel, MomentumTransportModel, ThermoModel)
#define makeRASLESThermophysicalTransportModel(SType, Type)
Macros for easy insertion into run-time selection tables.
#define makeLaminarThermophysicalTransportModel(Type)
#define makeThermophysicalTransportModelTypes( BaseModel, MomentumTransportModel, ThermoModel)