FreeFOAM The Cross-Platform CFD Toolkit
BasicReactingMultiphaseParcel.C
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 \*---------------------------------------------------------------------------*/
25 
27 
28 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
29 
30 template<class ThermoType>
32 (
33  ReactingMultiphaseCloud<BasicReactingMultiphaseParcel<ThermoType> >& owner,
34  const vector& position,
35  const label cellI
36 )
37 :
38  ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
39  (
40  owner,
41  position,
42  cellI
43  )
44 {}
45 
46 
47 template<class ThermoType>
49 (
50  ReactingMultiphaseCloud<BasicReactingMultiphaseParcel<ThermoType> >& owner,
51  const vector& position,
52  const label cellI,
53  const label typeId,
54  const scalar nParticle0,
55  const scalar d0,
56  const vector& U0,
57  const scalarField& YGas0,
58  const scalarField& YLiquid0,
59  const scalarField& YSolid0,
60  const scalarField& Y0,
61  const typename
62  ReactingMultiphaseParcel<BasicReactingMultiphaseParcel>::
63  constantProperties& constProps
64 )
65 :
66  ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
67  (
68  owner,
69  position,
70  cellI,
71  typeId,
72  nParticle0,
73  d0,
74  U0,
75  YGas0,
76  YLiquid0,
77  YSolid0,
78  Y0,
79  constProps
80  )
81 {}
82 
83 
84 template<class ThermoType>
86 (
87  const Cloud<BasicReactingMultiphaseParcel<ThermoType> >& cloud,
88  Istream& is,
89  bool readFields
90 )
91 :
92  ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
93  (
94  cloud,
95  is,
96  readFields
97  )
98 {}
99 
100 
101 template<class ThermoType>
103 (
104  const BasicReactingMultiphaseParcel<ThermoType>& p
105 )
106 :
107  ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >(p)
108 {}
109 
110 
111 // * * * * * * * * * * * * * * * * Destructors * * * * * * * * * * * * * * //
112 
113 template<class ThermoType>
116 {}
117 
118 
119 // ************************ vim: set sw=4 sts=4 et: ************************ //