equilibrium.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::equilibrium
26 
27 Description
28  Simple equilibrium model for flame wrinkling \c Xi
29 
30  Note that this model does not guarantee that the brush will attain a stable
31  thickness in unbounded propagation which would require a \c Xi distribution
32  through the flame, lower at the front and higher at the rear, see
33  Foam::XiEqModels::linearEquilibrium or Foam::XiEqModels::cubicEquilibrium
34  for alternative equilibrium models which provide this.
35 
36  See Foam::XiModel for more details on flame wrinkling modelling.
37 
38  References:
39  \verbatim
40  Weller, H. G. (1993).
41  The development of a new flame area combustion model
42  using conditional averaging.
43  Thermo-fluids section report TF 9307.
44 
45  Weller, H. G., Tabor, G., Gosman, A. D., & Fureby, C. (1998, January).
46  Application of a flame-wrinkling LES combustion model
47  to a turbulent mixing layer.
48  In Symposium (International) on combustion
49  (Vol. 27, No. 1, pp. 899-907). Elsevier.
50  \endverbatim
51 
52 SourceFiles
53  equilibrium.C
54 
55 \*---------------------------------------------------------------------------*/
56 
57 #ifndef equilibrium_H
58 #define equilibrium_H
59 
60 #include "XiModel.H"
61 
62 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
63 
64 namespace Foam
65 {
66 
67 class XiEqModel;
68 class XiProfile;
69 
70 namespace XiModels
71 {
72 
73 /*---------------------------------------------------------------------------*\
74  Class equilibrium Declaration
75 \*---------------------------------------------------------------------------*/
76 
77 class equilibrium
78 :
79  public XiModel
80 {
81 protected:
82 
85 
86  //- Update coefficients from given dictionary
87  virtual bool readCoeffs(const dictionary& dict);
88 
89 
90 public:
91 
92  //- Runtime type information
93  TypeName("equilibrium");
94 
95 
96  // Constructors
97 
98  //- Construct from components
100  (
101  const dictionary& dict,
104  const volScalarField& Su
105  );
106 
107  //- Disallow default bitwise copy construction
108  equilibrium(const equilibrium&) = delete;
109 
110 
111  //- Destructor
112  virtual ~equilibrium();
113 
114 
115  // Member Functions
116 
117  //- Return the flame diffusivity
118  virtual tmp<volScalarField> Db() const;
119 
120  //- Correct the flame-wrinkling Xi
121  virtual void correct();
122 
123 
124  // Member Operators
125 
126  //- Disallow default bitwise assignment
127  void operator=(const equilibrium&) = delete;
128 };
129 
130 
131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
132 
133 } // End namespace XiModels
134 } // End namespace Foam
135 
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
137 
138 #endif
139 
140 // ************************************************************************* //
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 equilibrium model for flame wrinkling Xi.
Definition: equilibrium.H:79
autoPtr< XiProfile > XiProfile_
Definition: equilibrium.H:83
virtual void correct()
Correct the flame-wrinkling Xi.
Definition: equilibrium.C:83
autoPtr< XiEqModel > XiEqModel_
Definition: equilibrium.H:82
virtual bool readCoeffs(const dictionary &dict)
Update coefficients from given dictionary.
Definition: equilibrium.C:45
virtual ~equilibrium()
Destructor.
Definition: equilibrium.C:71
equilibrium(const dictionary &dict, const psiuMulticomponentThermo &thermo, const fluidThermoThermophysicalTransportModel &turbulence, const volScalarField &Su)
Construct from components.
Definition: equilibrium.C:54
TypeName("equilibrium")
Runtime type information.
virtual tmp< volScalarField > Db() const
Return the flame diffusivity.
Definition: equilibrium.C:77
void operator=(const equilibrium &)=delete
Disallow default bitwise assignment.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: autoPtr.H:51
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.
A class for managing temporary objects.
Definition: tmp.H:55
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