uMulticomponentbInhomogeneous.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) 2026 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::uMulticomponentbInhomogeneous
26 
27 Description
28  Multicomponent unburnt gas to inhomogeneous burnt gas composition mapping
29 
30 SourceFiles
31  uMulticomponentbInhomogeneous.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef uMulticomponentbInhomogeneous_H
36 #define uMulticomponentbInhomogeneous_H
37 
38 #include "ubMixtureMap.H"
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
42 namespace Foam
43 {
44 namespace ubMixtureMaps
45 {
46 
47 /*---------------------------------------------------------------------------*\
48  Class uMulticomponentbInhomogeneous Declaration
49 \*---------------------------------------------------------------------------*/
50 
52 :
53  public ubMixtureMap
54 {
55  // Private Data
56 
57  //- Fuel specie index
58  label fu_;
59 
60  //- Oxidant species mass fractions
62 
63  //- Product species mass fractions
65 
66 
67 public:
68 
69  //- Runtime type information
70  TypeName("uMulticomponentbInhomogeneous");
71 
72 
73  // Constructors
74 
75  //- Construct from components
77  (
78  const uRhoMulticomponentThermo& uThermo,
79  const bRhoMulticomponentThermo& bThermo
80  );
81 
82  //- Disallow default bitwise copy construction
84  (
86  ) = delete;
87 
88 
89  //- Destructor
91 
92 
93  // Member Functions
94 
96  (
97  const PtrList<volScalarField>& Yu
98  ) const;
99 
100  virtual void reset
101  (
102  const volScalarField& b,
104  const volScalarField& c,
106  ) const;
107 
108 
109  // Member Operators
110 
111  //- Disallow default bitwise assignment
112  void operator=(const uMulticomponentbInhomogeneous&) = delete;
113 };
114 
115 
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 
118 } // End namespace ubMixtureMaps
119 } // End namespace Foam
120 
121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 
123 #endif
124 
125 // ************************************************************************* //
Generic GeometricField class.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition: List.H:91
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Definition: PtrList.H:75
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Definition: UPtrList.H:66
Base-class for combustion fluid thermodynamic properties based on compressibility.
Base-class for combustion fluid thermodynamic properties based on compressibility.
Base class for unburnt/burnt gas composition mapping.
Definition: ubMixtureMap.H:51
virtual void reset(const volScalarField &b, UPtrList< volScalarField > &Yu, const volScalarField &c, const UPtrList< const volScalarField > &Yb) const
Reset the mixture to an unburnt state.
uMulticomponentbInhomogeneous(const uRhoMulticomponentThermo &uThermo, const bRhoMulticomponentThermo &bThermo)
Construct from components.
TypeName("uMulticomponentbInhomogeneous")
Runtime type information.
void operator=(const uMulticomponentbInhomogeneous &)=delete
Disallow default bitwise assignment.
virtual PtrList< volScalarField::Internal > prompt(const PtrList< volScalarField > &Yu) const
Return the burnt gas prompt specie mass fractions.
volScalarField & b
Definition: createFields.H:27
const dimensionedScalar c
Speed of light in a vacuum.
Namespace for OpenFOAM.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59