uniformConstant.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) 2024 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::XiModels::uniformConstant
26 
27 Description
28  Simple uniform constant flame wrinkling \c Xi model
29 
30  See Foam::XiModel for more details on flame wrinkling modelling.
31 
32  Reference:
33  \verbatim
34  Weller, H. G. (1993).
35  The development of a new flame area combustion model
36  using conditional averaging.
37  Thermo-fluids section report TF 9307.
38  \endverbatim
39 
40 SourceFiles
41  uniformConstant.C
42 
43 \*---------------------------------------------------------------------------*/
44 
45 #ifndef uniformConstant_H
46 #define uniformConstant_H
47 
48 #include "XiModel.H"
49 
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 
52 namespace Foam
53 {
54 namespace XiModels
55 {
56 
57 /*---------------------------------------------------------------------------*\
58  Class uniformConstant Declaration
59 \*---------------------------------------------------------------------------*/
60 
61 class uniformConstant
62 :
63  public XiModel
64 {
65  // Private Data
66 
67  //- Specified flame-wrinkling value
69 
70 
71 protected:
72 
73  //- Update coefficients from given dictionary
74  virtual bool readCoeffs(const dictionary& dict);
75 
76 
77 public:
78 
79  //- Runtime type information
80  TypeName("uniformConstant");
81 
82 
83  // Constructors
84 
85  //- Construct from components
87  (
88  const dictionary& dict,
91  const volScalarField& Su
92  );
93 
94  //- Disallow default bitwise copy construction
95  uniformConstant(const uniformConstant&) = delete;
96 
97 
98  //- Destructor
99  virtual ~uniformConstant();
100 
101 
102  // Member Functions
103 
104  //- Correct the flame-wrinkling Xi
105  virtual void correct()
106  {}
107 
108 
109  // Member Operators
110 
111  //- Disallow default bitwise assignment
112  void operator=(const uniformConstant&) = delete;
113 };
114 
115 
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 
118 } // End namespace XiModels
119 } // End namespace Foam
120 
121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 
123 #endif
124 
125 // ************************************************************************* //
Generic GeometricField class.
Templated abstract base class for thermophysical transport models.
Base-class for all Xi models used by the b-Xi combustion model.
Definition: XiModel.H:117
Simple uniform constant flame wrinkling Xi model.
virtual ~uniformConstant()
Destructor.
void operator=(const uniformConstant &)=delete
Disallow default bitwise assignment.
virtual bool readCoeffs(const dictionary &dict)
Update coefficients from given dictionary.
TypeName("uniformConstant")
Runtime type information.
virtual void correct()
Correct the flame-wrinkling Xi.
uniformConstant(const dictionary &dict, const psiuMulticomponentThermo &thermo, const fluidThermoThermophysicalTransportModel &turbulence, const volScalarField &Su)
Construct from components.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Definition: dictionary.H:162
Base-class for combustion fluid thermodynamic properties based on compressibility.
tmp< VolField< Type > > Su(const VolField< Type > &su, const VolField< Type > &vf)
Definition: fvcSup.C:44
Namespace for OpenFOAM.
dictionary dict
autoPtr< incompressible::momentumTransportModel > turbulence(incompressible::momentumTransportModel::New(U, phi, viscosity))
fluidMulticomponentThermo & thermo
Definition: createFields.H:31