CFDEMcoupling  2.4
 All Classes
MeiLift.H
1 /*---------------------------------------------------------------------------*\
2  CFDEMcoupling - Open Source CFD-DEM coupling
3 
4  CFDEMcoupling is part of the CFDEMproject
5  www.cfdem.com
6  Christoph Goniva, christoph.goniva@cfdem.com
7  Copyright 2009-2012 JKU Linz
8  Copyright 2012- DCS Computing GmbH, Linz
9 -------------------------------------------------------------------------------
10 License
11  This file is part of CFDEMcoupling.
12 
13  CFDEMcoupling is free software; you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by the
15  Free Software Foundation; either version 3 of the License, or (at your
16  option) any later version.
17 
18  CFDEMcoupling 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 CFDEMcoupling; if not, write to the Free Software Foundation,
25  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 
27 Description
28  This code is designed to realize coupled CFD-DEM simulations using LIGGGHTS
29  and OpenFOAM(R). Note: this code is not part of OpenFOAM(R) (see DISCLAIMER).
30 
31  This function is based on the derivation in R. Kurose, S. Komori,
32  Drag and lift forces on a rotating sphere in a linear shear flow,
33  Journal of Fluid Mechanics. 384 (1999) 183-206.
34 
35  The data for this functions is based on J.B. Mclaughlin,
36  Inertial migration of a small sphere in linear shear flows,
37  Journal of Fluid Mechanics. 224 (1991) 261-274.
38 
39  The second order terms are based on:
40  Mei Lift force following Loth and Dorgan 2009,
41  and can be added to the lift coefficient if desired
42  (contribution from RQ)
43 
44  - including interpolation of the velocity to the particle position (optional)
45  - including output to file for testing/data analysis (optional)
46 
47 
48 Class
49  MeiLift
50 
51 SourceFiles
52  MeiLift.C
53 
54 \*---------------------------------------------------------------------------*/
55 
56 #ifndef MeiLift_H
57 #define MeiLift_H
58 
59 #include "forceModel.H"
60 #include "IOList.H"
61 #include "interpolationCellPoint.H"
62 
63 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
64 
65 namespace Foam
66 {
67 
68 /*---------------------------------------------------------------------------*\
69  Class MeiLift Declaration
70 \*---------------------------------------------------------------------------*/
71 
72 class MeiLift
73 :
74  public forceModel
75 {
76 private:
77  dictionary propsDict_;
78 
79  word velFieldName_;
80 
81  const volVectorField& U_;
82 
83  bool useSecondOrderTerms_;
84 
85 public:
86 
87  //- Runtime type information
88  TypeName("MeiLift");
89 
90 
91  // Constructors
92 
93  //- Construct from components
94  MeiLift
95  (
96  const dictionary& dict,
97  cfdemCloud& sm
98  );
99 
100  // Destructor
101 
102  ~MeiLift();
103 
104 
105  // Member Functions
106  void setForce() const;
107 
108 };
109 
110 
111 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112 
113 } // End namespace Foam
114 
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
116 
117 #endif
118 
119 // ************************************************************************* //
Definition: MeiLift.H:72
Definition: cfdemCloud.H:81
Definition: forceModel.H:55