reactingMultiphaseParcelInjectionData.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
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::reactingMultiphaseParcelInjectionData
26 
27 Description
28  Container class to provide injection data for reacting multiphase parcels
29 
30 SourceFiles
31  reactingMultiphaseParcelInjectionData.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef reactingMultiphaseParcelInjectionData_H
36 #define reactingMultiphaseParcelInjectionData_H
37 
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
42 namespace Foam
43 {
44 
45 // Forward declaration of classes
46 class reactingMultiphaseParcelInjectionData;
47 
48 // Forward declaration of friend functions
49 
50 Ostream& operator<<
51 (
52  Ostream&,
53  const reactingMultiphaseParcelInjectionData&
54 );
55 
56 Istream& operator>>
57 (
58  Istream&,
59  reactingMultiphaseParcelInjectionData&
60 );
61 
62 /*---------------------------------------------------------------------------*\
63  Class reactingMultiphaseParcelInjectionData Declaration
64 \*---------------------------------------------------------------------------*/
65 
67 :
69 {
70 protected:
71 
72  // Parcel properties
73 
74  //- List of gaseous mass fractions
76 
77  //- List of liquid mass fractions
79 
80  //- List of solid mass fractions
82 
83 
84 public:
85 
86  //- Runtime type information
87  TypeName("reactingMultiphaseParcelInjectionData");
88 
89  // Constructors
90 
91  //- Null constructor
93 
94  //- Construct from dictionary
96 
97  //- Construct from Istream
99 
100 
101  //-Destructor
103 
104 
105  // Access
106 
107  //- Return const access to the list of gaseous mass fractions
108  inline const scalarList& YGas() const;
109 
110  //- Return const access to the list of liquid mass fractions
111  inline const scalarList& YLiquid() const;
112 
113  //- Return const access to the list of solid mass fractions
114  inline const scalarList& YSolid() const;
115 
116 
117  // Edit
118 
119  //- Return access to the gaseous mass fractions
120  inline scalarList& YGas();
121 
122  //- Return access to the liquid mass fractions
123  inline scalarList& YLiquid();
124 
125  //- Return access to the solid mass fractions
126  inline scalarList& YSolid();
127 
128 
129  // I-O
130 
131  //- Ostream operator
132  friend Ostream& operator<<
133  (
134  Ostream& os,
136  );
137 
138  //- Istream operator
139  friend Istream& operator>>
140  (
141  Istream& is,
143  );
144 };
145 
146 
147 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
148 
149 } // End namespace Foam
150 
151 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
152 
154 
155 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
156 
157 #endif
158 
159 // ************************************************************************* //
dictionary dict
Container class to provide injection data for reacting parcels.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
TypeName("reactingMultiphaseParcelInjectionData")
Runtime type information.
const scalarList & YSolid() const
Return const access to the list of solid mass fractions.
const scalarList & YGas() const
Return const access to the list of gaseous mass fractions.
const scalarList & YLiquid() const
Return const access to the list of liquid mass fractions.
Database for solution data, solver performance and other reduced data.
Definition: data.H:52
Namespace for OpenFOAM.
Container class to provide injection data for reacting multiphase parcels.