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-2025 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  interfacialFriction| 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  //- Disambiguate the population balance reference
92 
93  //- Optional coefficient BTurb
94  dimensionedScalar BTurb_;
95 
96  //- Optional coefficient BShear
97  dimensionedScalar BShear_;
98 
99  //- Optional coefficient BEddy
100  dimensionedScalar BEddy_;
101 
102  //- Optional coefficient BFric
103  dimensionedScalar BFric_;
104 
105  //- Switch for considering turbulent velocity fluctuation
106  Switch turbulence_;
107 
108  //- Switch for considering velocity gradients in the bulk
109  Switch laminarShear_;
110 
111  //- Switch for considering eddies
112  Switch turbulentShear_;
113 
114  //- Switch for considering interfacial friction
115  Switch interfacialFriction_;
116 
117 
118 public:
119 
120  //- Runtime type information
121  TypeName("Liao");
122 
123  // Constructor
124 
125  Liao
126  (
127  const populationBalanceModel& popBal,
128  const dictionary& dict
129  );
130 
131 
132  //- Destructor
133  virtual ~Liao()
134  {}
135 
136 
137  // Member Functions
138 
139  //- Precompute diameter independent expressions
140  virtual void precompute();
141 
142  //- Add to binary breakupRate
143  virtual void addToBinaryBreakupRate
144  (
145  volScalarField::Internal& binaryBreakupRate,
146  const label i,
147  const label j
148  );
149 };
150 
151 
152 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
153 
154 } // End namespace binaryBreakupModels
155 } // End namespace diameterModels
156 } // End namespace Foam
157 
158 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
159 
160 #endif
161 
162 // ************************************************************************* //
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const populationBalanceModel & popBal_
Reference to the populationBalanceModel.
virtual void precompute()
Precompute diameter independent expressions.
Definition: Liao.C:76
Liao(const populationBalanceModel &popBal, const dictionary &dict)
Definition: Liao.C:56
virtual void addToBinaryBreakupRate(volScalarField::Internal &binaryBreakupRate, const label i, const label j)
Add to binary breakupRate.
Definition: Liao.C:83
TypeName("Liao")
Runtime type information.
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Definition: dictionary.H:162
Namespace for OpenFOAM.
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
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dictionary dict