TomiyamaAnalytic.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 2014 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::dragModels::TomiyamaAnalytic
26 
27 Description
28  Analytical drag model of Tomiyama et al.
29 
30  Reference:
31  \verbatim
32  "Drag Coefficients of Bubbles. 1st Report. Drag Coefficients of a
33  Single Bubble in a Stagnant Liquid."
34  Tomiyama, A., Kataoka, I., and Sakaguchi, T.,
35  Nippon Kikai Gakkai Ronbunshu
36  Volume 61, Issue 587, 1995, pp. 2357-2364
37  \endverbatim
38 
39 SourceFiles
40  TomiyamaAnalytic.C
41 
42 \*---------------------------------------------------------------------------*/
43 
44 #ifndef TomiyamaAnalytic_H
45 #define TomiyamaAnalytic_H
46 
47 #include "dragModel.H"
48 
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 
51 namespace Foam
52 {
53 
54 class phasePair;
55 
56 namespace dragModels
57 {
58 
59 /*---------------------------------------------------------------------------*\
60  Class TomiyamaAnalytic Declaration
61 \*---------------------------------------------------------------------------*/
62 
63 class TomiyamaAnalytic
64 :
65  public dragModel
66 {
67  // Private data
68 
69  //- Residual Reynolds Number
70  const dimensionedScalar residualRe_;
71 
72  //- Residual Eotvos number
73  const dimensionedScalar residualEo_;
74 
75  //- Residual aspect ratio
76  const dimensionedScalar residualE_;
77 
78 
79 public:
80 
81  //- Runtime type information
82  TypeName("TomiyamaAnalytic");
83 
84 
85  // Constructors
86 
87  //- Construct from a dictionary and a phase pair
89  (
90  const dictionary& dict,
91  const phasePair& pair,
92  const bool registerObject
93  );
94 
95 
96  //- Destructor
97  virtual ~TomiyamaAnalytic();
98 
99 
100  // Member Functions
101 
102  // Drag coefficient
103  virtual tmp<volScalarField> CdRe() const;
104 };
105 
106 
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 
109 } // End namespace dragModels
110 } // End namespace Foam
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 #endif
115 
116 // ************************************************************************* //
virtual ~TomiyamaAnalytic()
Destructor.
bool & registerObject()
Register object created from this IOobject with registry if true.
Definition: IOobject.H:290
Namespace for OpenFOAM.
dictionary dict
TomiyamaAnalytic(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
TypeName("TomiyamaAnalytic")
Runtime type information.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual tmp< volScalarField > CdRe() const
Drag coefficient.