Loading...
Searching...
No Matches
singleStepReactingMixtureI.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 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
11 This file is part of OpenFOAM.
12
13 OpenFOAM is free software: you can redistribute it and/or modify it
14 under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26\*---------------------------------------------------------------------------*/
29
30// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
31
32template<class ThermoType>
33inline const Foam::dimensionedScalar
36 return stoicRatio_;
37}
38
39
40template<class ThermoType>
41inline const Foam::dimensionedScalar
44 return s_;
45}
46
47
48template<class ThermoType>
49inline const Foam::dimensionedScalar
52 return qFuel_;
53}
54
55
56template<class ThermoType>
57inline const Foam::List<Foam::scalar>&
61}
62
63
64template<class ThermoType>
67(
68 const label index
69) const
71 return fres_[index];
72}
73
74
75template<class ThermoType>
76inline Foam::label
79 return inertIndex_;
80}
81
82
83template<class ThermoType>
84inline Foam::label
87 return fuelIndex_;
88}
89
90
91template<class ThermoType>
92inline const Foam::List<int>&
95 return specieProd_;
96}
97
98
99template<class ThermoType>
100inline const Foam::scalarList&
102{
103 return Yprod0_;
104}
105
106
107// ************************************************************************* //
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition List.H:72
const List< int > & specieProd() const
Return the list to indicate if specie is produced/consumed.
dimensionedScalar s_
Stoichiometric oxygen-fuel mass ratio.
scalarList Yprod0_
Mass concentrations at stoichiometric mixture for fres.
tmp< volScalarField > fres(const label index) const
Return the list of components residual.
label inertIndex() const
Return the inert specie index.
dimensionedScalar stoicRatio_
Stoichiometric air-fuel mass ratio.
label fuelIndex() const
Return the fuel specie index.
const dimensionedScalar stoicRatio() const
Return the stoichiometric air-fuel mass ratio.
const List< scalar > & specieStoichCoeffs() const
Return the stoichiometric coefficient for the reaction.
const dimensionedScalar s() const
Return the Stoichiometric oxygen-fuel mass ratio.
List< int > specieProd_
List to indicate if specie is produced/consumed.
PtrList< volScalarField > fres_
List of components residual.
const scalarList & Yprod0() const
Return the list of products mass concentrations.
const dimensionedScalar qFuel() const
Return the heat of combustion [J/Kg].
scalarList specieStoichCoeffs_
Stoichiometric coefficient for the reaction.
dimensionedScalar qFuel_
Heat of combustion [J/Kg].
A class for managing temporary objects.
Definition tmp.H:75
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
List< scalar > scalarList
List of scalar.
Definition scalarList.H:32