FreeFOAM The Cross-Platform CFD Toolkit
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 
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>
57 :
58  public ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
59 {
60 
61 public:
62 
63  //- The type of thermodynamics this parcel was instantiated for
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
74  (
76  const vector& position,
77  const label cellI
78  );
79 
80  //- Construct from components
82  (
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
96  constantProperties& constProps
97  );
98 
99  //- Construct from Istream
101  (
103  Istream& is,
104  bool readFields = true
105  );
106 
107  //- Construct as a copy
109 
110  //- Construct and return a clone
112  {
113  return
115  (
117  );
118  }
119 
120 
121  //- Destructor
123 };
124 
125 
126 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127 
128 } // End namespace Foam
129 
130 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
131 
132 #ifdef NoRepository
134 #endif
135 
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
137 
138 #endif
139 
140 // ************************ vim: set sw=4 sts=4 et: ************************ //