CFDEMcoupling
2.4
Main Page
Classes
Files
File List
All
Classes
CFDEMcoupling-PUBLIC
src
lagrangian
cfdemParticle
subModels
forceModel
particleCellVolume
particleCellVolume.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
calc volume of the particles from the voidfraction field
32
Class
33
particleCellVolume
34
35
SourceFiles
36
particleCellVolume.C
37
38
\*---------------------------------------------------------------------------*/
39
40
#ifndef particleCellVolume_H
41
#define particleCellVolume_H
42
43
#include "forceModel.H"
44
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46
namespace
Foam
47
{
48
49
/*---------------------------------------------------------------------------*\
50
Class particleCellVolume Declaration
51
\*---------------------------------------------------------------------------*/
52
53
class
particleCellVolume
54
:
55
public
forceModel
56
{
57
private
:
58
59
dictionary propsDict_;
60
61
const
fvMesh& mesh_;
62
63
scalar startTime_;
64
65
const
word scalarFieldName_;
66
67
mutable
volScalarField scalarField_;
68
69
mutable
volScalarField scalarField2_;
70
71
mutable
scalar upperThreshold_;
72
73
mutable
scalar lowerThreshold_;
74
75
Switch verbose_;
76
77
public
:
78
79
//- Runtime type information
80
TypeName(
"particleCellVolume"
);
81
82
83
// Constructors
84
85
//- Construct from components
86
particleCellVolume
87
(
88
const
dictionary& dict,
89
cfdemCloud
& sm
90
);
91
92
// Destructor
93
94
~
particleCellVolume
();
95
96
97
// Member Functions
98
void
setForce()
const
;
99
};
100
101
102
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
103
104
}
// End namespace Foam
105
106
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107
108
#endif
109
110
// ************************************************************************* //
Foam::particleCellVolume
Definition:
particleCellVolume.H:53
Foam::cfdemCloud
Definition:
cfdemCloud.H:81
Foam::forceModel
Definition:
forceModel.H:55
Generated on Fri Sep 11 2015 15:26:20 for CFDEMcoupling by
1.8.6