Lain.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-2018 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::dragModels::Lain
28 
29 Description
30  Drag model of Lain et al.
31 
32  References:
33  \verbatim
34  Otromke, M. (2013).
35  Implementation and Comparison of Correlations for interfacial Forces in
36  a Gas-Liquid System within an Euler-Euler Framework.
37  PhD Thesis.
38  \endverbatim
39 
40  \verbatim
41  Laın, S., Bröder, D., Sommerfeld, M., & Göz, M. F. (2002).
42  Modelling hydrodynamics and turbulence in a bubble column using the
43  Euler–Lagrange procedure.
44  International journal of multiphase flow, 28(8), 1381-1407.
45  \endverbatim
46 
47 SourceFiles
48  Lain.C
49 
50 \*---------------------------------------------------------------------------*/
51 
52 #ifndef Lain_H
53 #define Lain_H
54 
55 #include "dragModel.H"
56 
57 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
58 
59 namespace Foam
60 {
61 
62 class phasePair;
63 
64 namespace dragModels
65 {
66 
67 /*---------------------------------------------------------------------------*\
68  Class Lain Declaration
69 \*---------------------------------------------------------------------------*/
70 
71 class Lain
72 :
73  public dragModel
74 {
75 public:
76 
77  //- Runtime type information
78  TypeName("Lain");
79 
80 
81  // Constructors
82 
83  //- Construct from a dictionary and a phase pair
84  Lain
85  (
86  const dictionary& dict,
87  const phasePair& pair,
88  const bool registerObject
89  );
90 
91 
92  //- Destructor
93  virtual ~Lain();
94 
95 
96  // Member Functions
97 
98  //- Drag coefficient
99  virtual tmp<volScalarField> CdRe() const;
100 };
101 
102 
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 
105 } // End namespace dragModels
106 } // End namespace Foam
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 #endif
111 
112 // ************************************************************************* //
Foam::dragModels::Lain::Lain
Lain(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
Definition: Lain.C:47
Foam::phasePair
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
Definition: phasePair.H:53
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::dragModels::Lain::CdRe
virtual tmp< volScalarField > CdRe() const
Drag coefficient.
Definition: Lain.C:65
Foam::dragModels::Lain::~Lain
virtual ~Lain()
Destructor.
Definition: Lain.C:59
Foam::dragModels::Lain::TypeName
TypeName("Lain")
Runtime type information.
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::dragModels::Lain
Drag model of Lain et al.
Definition: Lain.H:70
Foam::dragModel
Definition: dragModel.H:51