LiaoBase.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) 2021-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 Class
25  Foam::diameterModels::LiaoBase
26 
27 Description
28  Base class for coalescence and breakup models of Liao et al. (2015).
29 
30  Reference:
31  \verbatim
32  Liao, Y.; Rzehak, R.; Lucas, D.; Krepper, E. (2015).
33  Baseline closure models for dispersed bubbly flow:
34  Bubble coalescence and breakup.
35  Chemical Engineering Science, 122, 336-349.
36  \endverbatim
37 
38 Usage
39 
40 SourceFiles
41  LiaoBase.C
42 
43 \*---------------------------------------------------------------------------*/
44 
45 #ifndef LiaoBase_H
46 #define LiaoBase_H
47 
48 #include "populationBalanceModel.H"
49 
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 
52 namespace Foam
53 {
54 namespace diameterModels
55 {
56 
57 /*---------------------------------------------------------------------------*\
58  Class LiaoBase Declaration
59 \*---------------------------------------------------------------------------*/
60 
61 class LiaoBase
62 {
63 protected:
64 
65  // Protected Data
66 
67  //- Reference to the populationBalanceModel
69 
70  //- Kolmogorov length scale
72 
73  //- Shear strain rate
75 
76  //- Eddy strain rate
78 
79  //- Terminal velocities
81 
82  //- Drag coefficients
84 
85 
86 public:
87 
88  // Constructor
89 
90  LiaoBase
91  (
92  const populationBalanceModel& popBal,
93  const dictionary& dict
94  );
95 
96 
97  //- Destructor
98  virtual ~LiaoBase()
99  {}
100 
101 
102  // Member Functions
103 
104  //- Precompute diameter independent expressions
105  virtual void precompute();
106 };
107 
108 
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 
111 } // End namespace diameterModels
112 } // End namespace Foam
113 
114 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115 
116 #endif
117 
118 // ************************************************************************* //
Generic GeometricField class.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Definition: PtrList.H:75
Base class for coalescence and breakup models of Liao et al. (2015).
Definition: LiaoBase.H:61
virtual void precompute()
Precompute diameter independent expressions.
Definition: LiaoBase.C:92
volScalarField kolmogorovLengthScale_
Kolmogorov length scale.
Definition: LiaoBase.H:70
virtual ~LiaoBase()
Destructor.
Definition: LiaoBase.H:97
PtrList< dimensionedScalar > Cd_
Drag coefficients.
Definition: LiaoBase.H:82
LiaoBase(const populationBalanceModel &popBal, const dictionary &dict)
Definition: LiaoBase.C:33
const populationBalanceModel & populationBalance_
Reference to the populationBalanceModel.
Definition: LiaoBase.H:67
volScalarField shearStrainRate_
Shear strain rate.
Definition: LiaoBase.H:73
volScalarField eddyStrainRate_
Eddy strain rate.
Definition: LiaoBase.H:76
PtrList< dimensionedScalar > uTerminal_
Terminal velocities.
Definition: LiaoBase.H:79
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:162
Namespace for OpenFOAM.
dictionary dict