TomiyamaSwarm.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 | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2014 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::TomiyamaSwarm
28 
29 Description
30  Swarm correction of Tomiyama et al.
31 
32  Reference:
33  \verbatim
34  "Drag Coefficients of Bubbles. 2nd Report. Drag Coefficient for a Swarm
35  of Bubbles and its Applicability to Transient Flow."
36  Tomiyama, A., Kataoka, I., Fukuda, T., and Sakaguchi, T.,
37  Nippon Kikai Gakkai Ronbunshu
38  Volume 61, Issue 588, 1995, pp. 2810-2817
39  \endverbatim
40 
41 SourceFiles
42  TomiyamaSwarm.C
43 
44 \*---------------------------------------------------------------------------*/
45 
46 #ifndef TomiyamaSwarm_H
47 #define TomiyamaSwarm_H
48 
49 #include "swarmCorrection.H"
50 
51 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52 
53 namespace Foam
54 {
55 namespace swarmCorrections
56 {
57 
58 /*---------------------------------------------------------------------------*\
59  Class TomiyamaSwarm Declaration
60 \*---------------------------------------------------------------------------*/
61 
62 class TomiyamaSwarm
63 :
64  public swarmCorrection
65 {
66  // Private data
67 
68  //- Residual phase fraction
69  const dimensionedScalar residualAlpha_;
70 
71  //- Constant exponent
72  const dimensionedScalar l_;
73 
74 
75 public:
76 
77  //- Runtime type information
78  TypeName("Tomiyama");
79 
80 
81  // Constructors
82 
83  //- Construct from a dictionary and a phase pair
85  (
86  const dictionary& dict,
87  const phasePair& pair
88  );
89 
90 
91  //- Destructor
92  virtual ~TomiyamaSwarm();
93 
94 
95  // Member Functions
96 
97  //- Swarm correction coefficient
98  virtual tmp<volScalarField> Cs() const;
99 };
100 
101 
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
103 
104 } // End namespace swarmCorrections
105 } // End namespace Foam
106 
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 
109 #endif
110 
111 // ************************************************************************* //
dictionary dict
TomiyamaSwarm(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
Definition: TomiyamaSwarm.C:45
virtual ~TomiyamaSwarm()
Destructor.
Definition: TomiyamaSwarm.C:64
TypeName("Tomiyama")
Runtime type information.
virtual tmp< volScalarField > Cs() const
Swarm correction coefficient.
Definition: TomiyamaSwarm.C:71
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Namespace for OpenFOAM.