CFDEMcoupling  2.4
 All Classes
GaussVoidFraction.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  Gaussian distributed particle voidfraction model
32  contribution from RQ
33 
34 Class
35  GaussVoidFraction
36 
37 SourceFiles
38  GaussVoidFraction.C
39 
40 \*---------------------------------------------------------------------------*/
41 
42 #ifndef GaussVoidFraction_H
43 #define GaussVoidFraction_H
44 
45 #include "voidFractionModel.H"
46 
47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 
49 namespace Foam
50 {
51 
52 /*---------------------------------------------------------------------------*\
53  Class noDrag Declaration
54 \*---------------------------------------------------------------------------*/
55 
57 :
58  public voidFractionModel
59 {
60 
61 private:
62  dictionary propsDict_;
63 
64  const scalar alphaMin_; //NP min value of voidFraction
65 
66  mutable bool alphaLimited_;
67 
68 public:
69 
70  //- Runtime type information
71  TypeName("Gauss");
72 
73 
74  // Constructors
75 
76  //- Construct from components
78  (
79  const dictionary& dict,
80  cfdemCloud& sm
81  );
82 
83  // Destructor
84 
86 
87 
88  // Member Functions
89  void setvoidFraction(double** const& ,double**&, double**&, double**&, double**&) const;
90 
91  void buildLabelHashSet
92  (
93  const scalar radius,
94  const vector position,
95  const label cellID,
96  labelHashSet& hashSett
97  /*labelHashSet& hashSetComplete,
98  labelHashSet& hashSetPartial,
99  labelHashSet& hashSetRest*/
100  ) const;
101 };
102 
103 
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 
106 } // End namespace Foam
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 #endif
111 
112 // ************************************************************************* //
Definition: cfdemCloud.H:81
Definition: voidFractionModel.H:56
Definition: GaussVoidFraction.H:56