CFDEMcoupling  2.4
 All Classes
constDiffSmoothing.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  Copyright (C) 2013- Graz University of
10  Technology, IPPT
11 -------------------------------------------------------------------------------
12 License
13  This file is part of CFDEMcoupling.
14 
15  CFDEMcoupling is free software; you can redistribute it and/or modify it
16  under the terms of the GNU General Public License as published by the
17  Free Software Foundation; either version 3 of the License, or (at your
18  option) any later version.
19 
20  CFDEMcoupling is distributed in the hope that it will be useful, but WITHOUT
21  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23  for more details.
24 
25  You should have received a copy of the GNU General Public License
26  along with CFDEMcoupling; if not, write to the Free Software Foundation,
27  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 
29 Description
30  This code is designed to realize coupled CFD-DEM simulations using LIGGGHTS
31  and OpenFOAM(R). Note: this code is not part of OpenFOAM(R) (see DISCLAIMER).
32 
33 Class
34  constDiffSmoothing
35 
36 SourceFiles
37  constDiffSmoothing.C
38 
39 \*---------------------------------------------------------------------------*/
40 
41 #ifndef constDiffSmoothing_H
42 #define constDiffSmoothing_H
43 
44 #include "smoothingModel.H"
45 
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 
48 namespace Foam
49 {
50 
51 /*---------------------------------------------------------------------------*\
52  Class constDiffSmoothing Declaration
53 \*---------------------------------------------------------------------------*/
54 
56 :
57  public smoothingModel
58 {
59 
60 private:
61 
62  dictionary propsDict_;
63  scalar lowerLimit_;
64  scalar upperLimit_;
65  dimensionedScalar smoothingLength_;
66  dimensionedScalar smoothingLengthReferenceField_;
67  mutable dimensionedScalar DT_;
68  bool verbose_;
69 
70 public:
71 
72  //- Runtime type information
73  TypeName("constDiffSmoothing");
74 
75 
76  // Constructors
77 
78  //- Construct from components
80  (
81  const dictionary& dict,
82  cfdemCloud& sm
83  );
84 
85  // Destructor
86 
88 
89 
90  // Member Functions
91  bool doSmoothing() const;
92 
93  //void dSmoothing(volScalarField&) const;
94 
95  void smoothen(volScalarField&) const;
96 
97  void smoothen(volVectorField&) const;
98 
99  void smoothenReferenceField(volVectorField&) const;
100 
101 };
102 
103 
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 
106 } // End namespace Foam
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 #endif
111 
112 // ************************************************************************* //
Definition: constDiffSmoothing.H:55
Definition: smoothingModel.H:54
Definition: cfdemCloud.H:81