Frank.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-2015 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::wallLubricationModels::Frank
28 
29 Description
30  Wall lubrication model of Frank.
31 
32  References:
33  \verbatim
34  "Implementation and Comparison of Correlations for interfacial Forces
35  in a Gas-Liquid System within an Euler-Euler Framework"
36  Otromke, M.
37  PhD Thesis
38  April 2013
39  \endverbatim
40 
41  \verbatim
42  "Advances in Computational Fluid Dynamics (CFD) of 3-dimensional Gas-
43  Liquid Multiphase Flows"
44  Frank, T.
45  NAFEMS Seminar: Simulation of Complex Flows (CFD), April 2005, pp. 1-18
46  \endverbatim
47 
48 SourceFiles
49  Frank.C
50 
51 \*---------------------------------------------------------------------------*/
52 
53 #ifndef Frank_H
54 #define Frank_H
55 
56 #include "wallLubricationModel.H"
57 
58 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
59 
60 namespace Foam
61 {
62 
63 class phasePair;
64 
65 namespace wallLubricationModels
66 {
67 
68 /*---------------------------------------------------------------------------*\
69  Class Frank Declaration
70 \*---------------------------------------------------------------------------*/
71 
72 class Frank
73 :
74  public wallLubricationModel
75 {
76  // Private data
77 
78  //- Coefficient d
79  const dimensionedScalar Cwd_;
80 
81  //- Coefficient c
82  const dimensionedScalar Cwc_;
83 
84  //- Power p
85  const scalar p_;
86 
87 
88 public:
89 
90  //- Runtime type information
91  TypeName("Frank");
92 
93 
94  // Constructors
95 
96  //- Construct from components
97  Frank
98  (
99  const dictionary& dict,
100  const phasePair& pair
101  );
102 
103 
104  //- Destructor
105  virtual ~Frank();
106 
107 
108  // Member Functions
109 
110  //- Return phase-intensive wall lubrication force
111  tmp<volVectorField> Fi() const;
112 };
113 
114 
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
116 
117 } // End namespace wallLubricationModels
118 } // End namespace Foam
119 
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 
122 #endif
123 
124 // ************************************************************************* //
Frank(const dictionary &dict, const phasePair &pair)
Construct from components.
Definition: Frank.C:46
dictionary dict
tmp< volVectorField > Fi() const
Return phase-intensive wall lubrication force.
Definition: Frank.C:66
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual ~Frank()
Destructor.
Definition: Frank.C:60
Namespace for OpenFOAM.
TypeName("Frank")
Runtime type information.