CFDEMcoupling  2.4
 All Classes
GidaspowDrag.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  Gidaspow drag law
32  - only valid for low-Reynolds number systems (Re_p<1000)
33  - including interpolation of the velocity to the exact position
34  - splits off explicit drag component due to fluctuation in fluid and particle
35  velocity (optional via forceSubModel "ImExCorr")
36 
37 Class
38  GidaspowDrag
39 
40 SourceFiles
41  GidaspowDrag.C
42 
43 \*---------------------------------------------------------------------------*/
44 
45 #ifndef GidaspowDrag_H
46 #define GidaspowDrag_H
47 
48 #include "forceModel.H"
49 #include "interpolationCellPoint.H"
50 
51 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52 
53 namespace Foam
54 {
55 
56 /*---------------------------------------------------------------------------*\
57  Class GidaspowDrag Declaration
58 \*---------------------------------------------------------------------------*/
59 
61 :
62  public forceModel
63 {
64 private:
65  dictionary propsDict_;
66 
67  word velFieldName_;
68 
69  const volVectorField& U_;
70 
71  word voidfractionFieldName_;
72 
73  const volScalarField& voidfraction_;
74 
75  const scalar phi_;
76 
77  word UsFieldName_;
78 
79  const volVectorField& UsField_; // the average particle velocity field
80 
81  mutable scalar scaleDia_;
82 
83  mutable scalar scaleDrag_;
84 
85  mutable scalar switchingVoidfraction_; //voidfraction above which dilute formulation will be used
86 
87 public:
88 
89  //- Runtime type information
90  TypeName("GidaspowDrag");
91 
92 
93  // Constructors
94 
95  //- Construct from components
97  (
98  const dictionary& dict,
99  cfdemCloud& sm
100  );
101 
102  // Destructor
103 
104  ~GidaspowDrag();
105 
106 
107  // Member Functions
108  void setForce() const;
109 };
110 
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 } // End namespace Foam
115 
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 
118 #endif
119 
120 // ************************************************************************* //
Definition: GidaspowDrag.H:60
Definition: cfdemCloud.H:81
Definition: forceModel.H:55