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
src
lagrangian
intermediate
parcels
derived
BasicReactingMultiphaseParcel
BasicReactingMultiphaseParcel.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) 2008-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::BasicReactingMultiphaseParcel
26
27
Description
28
29
30
SourceFiles
31
BasicReactingMultiphaseParcel.C
32
BasicReactingMultiphaseParcelIO.C
33
34
\*---------------------------------------------------------------------------*/
35
36
#ifndef BasicReactingMultiphaseParcel_H
37
#define BasicReactingMultiphaseParcel_H
38
39
#include <
lagrangianIntermediate/ReactingMultiphaseParcel.H
>
40
41
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
43
44
namespace
Foam
45
{
46
47
// Forward declaration of classes
48
template
<
class
ThermoType>
49
class
BasicReactingMultiphaseParcel;
50
51
/*---------------------------------------------------------------------------*\
52
Class BasicReactingMultiphaseParcel Declaration
53
\*---------------------------------------------------------------------------*/
54
55
template
<
class
ThermoType>
56
class
BasicReactingMultiphaseParcel
57
:
58
public
ReactingMultiphaseParcel
<BasicReactingMultiphaseParcel<ThermoType> >
59
{
60
61
public
:
62
63
//- The type of thermodynamics this parcel was instantiated for
64
typedef
ThermoType
thermoType
;
65
66
//- Run-time type information
67
TypeName
(
"BasicReactingMultiphaseParcel"
);
68
69
// Constructors
70
71
//- Construct from owner, position, and cloud owner
72
// Other properties initialised as null
73
BasicReactingMultiphaseParcel
74
(
75
ReactingMultiphaseCloud<BasicReactingMultiphaseParcel>
& owner,
76
const
vector
&
position
,
77
const
label cellI
78
);
79
80
//- Construct from components
81
BasicReactingMultiphaseParcel
82
(
83
ReactingMultiphaseCloud<BasicReactingMultiphaseParcel>
& owner,
84
const
vector
&
position
,
85
const
label cellI,
86
const
label
typeId
,
87
const
scalar nParticle0,
88
const
scalar d0,
89
const
vector
& U0,
90
const
scalarField
& YGas0,
91
const
scalarField
& YLiquid0,
92
const
scalarField
& YSolid0,
93
const
scalarField
& Y0,
94
const
typename
95
ReactingMultiphaseParcel<BasicReactingMultiphaseParcel>
::
96
constantProperties& constProps
97
);
98
99
//- Construct from Istream
100
BasicReactingMultiphaseParcel
101
(
102
const
Cloud<BasicReactingMultiphaseParcel>
& c,
103
Istream
& is,
104
bool
readFields
=
true
105
);
106
107
//- Construct as a copy
108
BasicReactingMultiphaseParcel
(
const
BasicReactingMultiphaseParcel
&
p
);
109
110
//- Construct and return a clone
111
autoPtr<BasicReactingMultiphaseParcel>
clone
()
const
112
{
113
return
114
autoPtr<BasicReactingMultiphaseParcel>
115
(
116
new
BasicReactingMultiphaseParcel
(*
this
)
117
);
118
}
119
120
121
//- Destructor
122
virtual
~BasicReactingMultiphaseParcel
();
123
};
124
125
126
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127
128
}
// End namespace Foam
129
130
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
131
132
#ifdef NoRepository
133
#include "
BasicReactingMultiphaseParcel.C
"
134
#endif
135
136
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
137
138
#endif
139
140
// ************************ vim: set sw=4 sts=4 et: ************************ //