Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
applications
solvers
multiphase
twoPhaseEulerFoam
kineticTheoryModels
radialModel
radialModel
radialModel.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
11
OpenFOAM is free software: you can redistribute it and/or modify it
12
under the terms of the GNU General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23
24
Class
25
Foam::radialModel
26
27
SourceFiles
28
radialModel.C
29
30
\*---------------------------------------------------------------------------*/
31
32
#ifndef radialModel_H
33
#define radialModel_H
34
35
#include <
OpenFOAM/dictionary.H
>
36
#include <
finiteVolume/volFields.H
>
37
#include <
OpenFOAM/dimensionedTypes.H
>
38
#include <
OpenFOAM/runTimeSelectionTables.H
>
39
40
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41
42
namespace
Foam
43
{
44
45
/*---------------------------------------------------------------------------*\
46
Class radialModel Declaration
47
\*---------------------------------------------------------------------------*/
48
49
class
radialModel
50
{
51
// Private member functions
52
53
//- Disallow default bitwise copy construct
54
radialModel
(
const
radialModel
&);
55
56
//- Disallow default bitwise assignment
57
void
operator=(
const
radialModel
&);
58
59
60
protected
:
61
62
// Protected data
63
64
const
dictionary
&
dict_
;
65
66
67
public
:
68
69
//- Runtime type information
70
TypeName
(
"radialModel"
);
71
72
// Declare runtime constructor selection table
73
declareRunTimeSelectionTable
74
(
75
autoPtr
,
76
radialModel
,
77
dictionary
,
78
(
79
const
dictionary
& dict
80
),
81
(dict)
82
);
83
84
85
// Constructors
86
87
//- Construct from components
88
radialModel
(
const
dictionary
& dict);
89
90
91
// Selectors
92
93
static
autoPtr<radialModel>
New
94
(
95
const
dictionary
& dict
96
);
97
98
99
//- Destructor
100
virtual
~radialModel
();
101
102
103
// Member Functions
104
105
//- Radial distribution function
106
virtual
tmp<volScalarField>
g0
107
(
108
const
volScalarField
& alpha,
109
const
dimensionedScalar
&
alphaMax
110
)
const
= 0;
111
112
//- Derivative of the radial distribution function
113
virtual
tmp<volScalarField>
g0prime
114
(
115
const
volScalarField
& alpha,
116
const
dimensionedScalar
&
alphaMax
117
)
const
= 0;
118
};
119
120
121
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122
123
}
// End namespace Foam
124
125
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
126
127
#endif
128
129
// ************************ vim: set sw=4 sts=4 et: ************************ //