Liao.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::binaryBreakupModels::Liao
26 
27 Description
28  Bubble breakup model of Liao et al. (2015). The terminal velocities and drag
29  coefficients are computed by an iterative procedure based on the drag model
30  of Ishii and Zuber (1979) at the beginning of the simulation, assuming
31  single bubbles rising in quiescent liquid.
32 
33  References:
34  \verbatim
35  Liao, Y.; Rzehak, R.; Lucas, D.; Krepper, E. (2015).
36  Baseline closure models for dispersed bubbly flow: Bubble coalescence
37  and breakup.
38  Chemical Engineering Science, 122, 336-349.
39 
40  Ishii, M., & Zuber, N. (1979).
41  Drag coefficient and relative velocity in bubbly, droplet or particulate
42  flows.
43  AIChE Journal, 25(5), 843-855.
44  \endverbatim
45 
46 Usage
47  \table
48  Property | Description | Required | Default value
49  BTurb | coefficient BTurb | no | 1.0
50  BShear | coefficient Bbuoy | no | 1.0
51  BEddy | coefficient BEddy | no | 1.0
52  BFric | coefficient Bwake | no | 1.0
53  turbulence | Switch for turbulence | yes | none
54  laminarShear | Switch for laminar shear | yes | none
55  turbulentShear | Switch for eddies | yes | none
56  friction | Switch for friction | yes | none
57  \endtable
58 
59 SourceFiles
60  Liao.C
61 
62 \*---------------------------------------------------------------------------*/
63 
64 #ifndef Liao_H
65 #define Liao_H
66 
67 #include "binaryBreakupModel.H"
68 #include "LiaoBase.H"
69 
70 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
71 
72 namespace Foam
73 {
74 namespace diameterModels
75 {
76 namespace binaryBreakupModels
77 {
78 
79 /*---------------------------------------------------------------------------*\
80  Class Liao Declaration
81 \*---------------------------------------------------------------------------*/
82 
83 class Liao
84 :
85  public binaryBreakupModel,
86  public LiaoBase
87 {
88  // Private Data
89 
90  //- Optional coefficient BTurb
91  dimensionedScalar BTurb_;
92 
93  //- Optional coefficient BShear
94  dimensionedScalar BShear_;
95 
96  //- Optional coefficient BEddy
97  dimensionedScalar BEddy_;
98 
99  //- Optional coefficient BFric
100  dimensionedScalar BFric_;
101 
102  //- Switch for considering turbulent velocity fluctuation
103  Switch turbulence_;
104 
105  //- Switch for considering velocity gradients in the bulk
106  Switch laminarShear_;
107 
108  //- Switch for considering eddies
109  Switch turbulentShear_;
110 
111  //- Switch for considering interfacial friction
112  Switch interfacialFriction_;
113 
114 
115 public:
116 
117  //- Runtime type information
118  TypeName("Liao");
119 
120  // Constructor
121 
122  Liao
123  (
124  const populationBalanceModel& popBal,
125  const dictionary& dict
126  );
127 
128 
129  //- Destructor
130  virtual ~Liao()
131  {}
132 
133 
134  // Member Functions
135 
136  //- Precompute diameter independent expressions
137  virtual void precompute();
138 
139  //- Add to binary breakupRate
140  virtual void addToBinaryBreakupRate
141  (
142  volScalarField& binaryBreakupRate,
143  const label i,
144  const label j
145  );
146 };
147 
148 
149 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
150 
151 } // End namespace binaryBreakupModels
152 } // End namespace diameterModels
153 } // End namespace Foam
154 
155 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
156 
157 #endif
158 
159 // ************************************************************************* //
Generic GeometricField class.
virtual void precompute()
Precompute diameter independent expressions.
Definition: Liao.C:75
virtual void addToBinaryBreakupRate(volScalarField &binaryBreakupRate, const label i, const label j)
Add to binary breakupRate.
Definition: Liao.C:83
Liao(const populationBalanceModel &popBal, const dictionary &dict)
Definition: Liao.C:55
TypeName("Liao")
Runtime type information.
Namespace for OpenFOAM.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
dictionary dict