reactingMultiphaseParcelInjectionData.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 | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2011-2015 OpenFOAM Foundation
9  Copyright (C) 2019 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 Class
28  Foam::reactingMultiphaseParcelInjectionData
29 
30 Description
31  Container class to provide injection data for reacting multiphase parcels
32 
33 SourceFiles
34  reactingMultiphaseParcelInjectionData.C
35 
36 \*---------------------------------------------------------------------------*/
37 
38 #ifndef reactingMultiphaseParcelInjectionData_H
39 #define reactingMultiphaseParcelInjectionData_H
40 
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47 
48 // Forward declaration of classes
49 class reactingMultiphaseParcelInjectionData;
50 
51 // Forward declaration of friend functions
52 
53 Ostream& operator<<
54 (
55  Ostream&,
56  const reactingMultiphaseParcelInjectionData&
57 );
58 
59 Istream& operator>>
60 (
61  Istream&,
62  reactingMultiphaseParcelInjectionData&
63 );
64 
65 /*---------------------------------------------------------------------------*\
66  Class reactingMultiphaseParcelInjectionData Declaration
67 \*---------------------------------------------------------------------------*/
68 
70 :
72 {
73 protected:
74 
75  // Parcel properties
76 
77  //- List of gaseous mass fractions
79 
80  //- List of liquid mass fractions
82 
83  //- List of solid mass fractions
85 
86 
87 public:
88 
89  //- Runtime type information
90  TypeName("reactingMultiphaseParcelInjectionData");
91 
92  // Constructors
93 
94  //- Null constructor
96 
97  //- Construct from dictionary
99 
100  //- Construct from Istream
102 
103 
104  //- Destructor
106 
107 
108  // Access
109 
110  //- Return const access to the list of gaseous mass fractions
111  inline const scalarList& YGas() const;
112 
113  //- Return const access to the list of liquid mass fractions
114  inline const scalarList& YLiquid() const;
115 
116  //- Return const access to the list of solid mass fractions
117  inline const scalarList& YSolid() const;
118 
119 
120  // Edit
121 
122  //- Return access to the gaseous mass fractions
123  inline scalarList& YGas();
124 
125  //- Return access to the liquid mass fractions
126  inline scalarList& YLiquid();
127 
128  //- Return access to the solid mass fractions
129  inline scalarList& YSolid();
130 
131 
132  // I-O
133 
134  //- Ostream operator
135  friend Ostream& operator<<
136  (
137  Ostream& os,
139  );
140 
141  //- Istream operator
142  friend Istream& operator>>
143  (
144  Istream& is,
146  );
147 };
148 
149 
150 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
151 
152 } // End namespace Foam
153 
154 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
155 
157 
158 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
159 
160 #endif
161 
162 // ************************************************************************* //
reactingParcelInjectionData.H
reactingMultiphaseParcelInjectionDataI.H
Foam::reactingMultiphaseParcelInjectionData::reactingMultiphaseParcelInjectionData
reactingMultiphaseParcelInjectionData()
Null constructor.
Definition: reactingMultiphaseParcelInjectionData.C:40
Foam::reactingMultiphaseParcelInjectionData::YLiquid
const scalarList & YLiquid() const
Return const access to the list of liquid mass fractions.
Definition: reactingMultiphaseParcelInjectionDataI.H:40
Foam::reactingMultiphaseParcelInjectionData::YGas_
scalarList YGas_
List of gaseous mass fractions.
Definition: reactingMultiphaseParcelInjectionData.H:77
Foam::reactingMultiphaseParcelInjectionData::~reactingMultiphaseParcelInjectionData
virtual ~reactingMultiphaseParcelInjectionData()
Destructor.
Definition: reactingMultiphaseParcelInjectionData.C:64
Foam::reactingMultiphaseParcelInjectionData::YGas
const scalarList & YGas() const
Return const access to the list of gaseous mass fractions.
Definition: reactingMultiphaseParcelInjectionDataI.H:33
Foam::Istream
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition: Istream.H:61
Foam::reactingParcelInjectionData
Container class to provide injection data for reacting parcels.
Definition: reactingParcelInjectionData.H:69
Foam::reactingMultiphaseParcelInjectionData::YSolid_
scalarList YSolid_
List of solid mass fractions.
Definition: reactingMultiphaseParcelInjectionData.H:83
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
os
OBJstream os(runTime.globalPath()/outputName)
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::reactingMultiphaseParcelInjectionData
Container class to provide injection data for reacting multiphase parcels.
Definition: reactingMultiphaseParcelInjectionData.H:68
Foam::reactingMultiphaseParcelInjectionData::YLiquid_
scalarList YLiquid_
List of liquid mass fractions.
Definition: reactingMultiphaseParcelInjectionData.H:80
Foam::List< scalar >
Foam::reactingMultiphaseParcelInjectionData::TypeName
TypeName("reactingMultiphaseParcelInjectionData")
Runtime type information.
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
Foam::reactingMultiphaseParcelInjectionData::YSolid
const scalarList & YSolid() const
Return const access to the list of solid mass fractions.
Definition: reactingMultiphaseParcelInjectionDataI.H:47
Foam::data
Database for solution data, solver performance and other reduced data.
Definition: data.H:55