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-------------------------------------------------------------------------------
11License
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
27Class
28 Foam::reactingMultiphaseParcelInjectionData
29
30Description
31 Container class to provide injection data for reacting multiphase parcels
32
33SourceFiles
34 reactingMultiphaseParcelInjectionData.C
35
36\*---------------------------------------------------------------------------*/
37
38#ifndef reactingMultiphaseParcelInjectionData_H
39#define reactingMultiphaseParcelInjectionData_H
40
42
43// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44
45namespace Foam
46{
47
48// Forward declaration of classes
49class reactingMultiphaseParcelInjectionData;
50
51// Forward declaration of friend functions
52
53Ostream& operator<<
54(
55 Ostream&,
56 const reactingMultiphaseParcelInjectionData&
57);
58
59Istream& operator>>
60(
61 Istream&,
62 reactingMultiphaseParcelInjectionData&
63);
64
65/*---------------------------------------------------------------------------*\
66 Class reactingMultiphaseParcelInjectionData Declaration
67\*---------------------------------------------------------------------------*/
70:
72{
73protected:
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
87public:
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// ************************************************************************* //
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition: Istream.H:64
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:62
Database for solution data, solver performance and other reduced data.
Definition: data.H:58
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Container class to provide injection data for reacting multiphase parcels.
const scalarList & YLiquid() const
Return const access to the list of liquid mass fractions.
const scalarList & YSolid() const
Return const access to the list of solid mass fractions.
TypeName("reactingMultiphaseParcelInjectionData")
Runtime type information.
const scalarList & YGas() const
Return const access to the list of gaseous mass fractions.
Container class to provide injection data for reacting parcels.
OBJstream os(runTime.globalPath()/outputName)
Namespace for OpenFOAM.
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73