LegendreMagnaudet.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) 2014-2018 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::liftModels::LegendreMagnaudet
26 
27 Description
28  Lift model of Legendre and Magnaudet.
29 
30  References:
31  \verbatim
32  "Implementation and Comparison of Correlations for interfacial Forces
33  in a Gas-Liquid System within an Euler-Euler Framework"
34  Otromke, M.
35  PhD Thesis
36  April 2013
37  \endverbatim
38 
39  \verbatim
40  "The lift force on a spherical bubble in a viscous linear shear flow"
41  Legendre, D., Magnaudet, J.,
42  Journal of Fluid Mechanics
43  Volume 368, August 1998, pp. 81-126
44  \endverbatim
45 
46 SourceFiles
47  LegendreMagnaudet.C
48 
49 \*---------------------------------------------------------------------------*/
50 
51 #ifndef LegendreMagnaudet_H
52 #define LegendreMagnaudet_H
53 
54 #include "liftModel.H"
55 
56 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57 
58 namespace Foam
59 {
60 
61 class phasePair;
62 
63 namespace liftModels
64 {
65 
66 /*---------------------------------------------------------------------------*\
67  Class LegendreMagnaudet Declaration
68 \*---------------------------------------------------------------------------*/
69 
71 :
72  public liftModel
73 {
74  // Private data
75 
76  //- Residual Reynold's number
77  const dimensionedScalar residualRe_;
78 
79 
80 public:
81 
82  //- Runtime type information
83  TypeName("LegendreMagnaudet");
84 
85 
86  // Constructors
87 
88  //- Construct from a dictionary and a phase pair
90  (
91  const dictionary& dict,
92  const phasePair& pair
93  );
94 
95 
96  //- Destructor
97  virtual ~LegendreMagnaudet();
98 
99 
100  // Member Functions
101 
102  //- Lift coefficient
103  virtual tmp<volScalarField> Cl() const;
104 };
105 
106 
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 
109 } // End namespace liftModels
110 } // End namespace Foam
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 #endif
115 
116 // ************************************************************************* //
dictionary dict
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
virtual tmp< volScalarField > Cl() const
Lift coefficient.
virtual ~LegendreMagnaudet()
Destructor.
A class for managing temporary objects.
Definition: PtrList.H:53
TypeName("LegendreMagnaudet")
Runtime type information.
Lift model of Legendre and Magnaudet.
Namespace for OpenFOAM.
LegendreMagnaudet(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.