cubic.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::XiProfiles::cubic
26 
27 Description
28  Simple cubic profile for the equilibrium flame wrinkling \c XiEq
29  to give a plausible distribution.
30 
31  References:
32  \verbatim
33  Weller, H. G. (1993).
34  The development of a new flame area combustion model
35  using conditional averaging.
36  Thermo-fluids section report TF 9307.
37 
38  Weller, H. G., Tabor, G., Gosman, A. D., & Fureby, C. (1998, January).
39  Application of a flame-wrinkling LES combustion model
40  to a turbulent mixing layer.
41  In Symposium (International) on combustion
42  (Vol. 27, No. 1, pp. 899-907). Elsevier.
43  \endverbatim
44 
45 SourceFiles
46  cubic.C
47 
48 \*---------------------------------------------------------------------------*/
49 
50 #ifndef cubic_H
51 #define cubic_H
52 
53 #include "XiProfile.H"
54 
55 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
56 
57 namespace Foam
58 {
59 namespace XiProfiles
60 {
61 
62 /*---------------------------------------------------------------------------*\
63  Class cubic Declaration
64 \*---------------------------------------------------------------------------*/
65 
66 class cubic
67 :
68  public XiProfile
69 {
70  // Private Data
71 
72  dimensionedScalar XiShapeCoeff_;
73 
74 
75 protected:
76 
77  //- Update coefficients from given dictionary
78  virtual bool readCoeffs(const dictionary& dict);
79 
80 
81 public:
82 
83  //- Runtime type information
84  TypeName("cubic");
85 
86 
87  // Constructors
88 
89  //- Construct from components
90  cubic
91  (
92  const dictionary& dict,
93  const volScalarField& b
94  );
95 
96  //- Disallow default bitwise copy construction
97  cubic(const cubic&) = delete;
98 
99 
100  //- Destructor
101  virtual ~cubic();
102 
103 
104  // Member Functions
105 
106  //- Return the flame-wrinkling profile
107  virtual tmp<volScalarField> profile() const;
108 
109 
110  // Member Operators
111 
112  //- Disallow default bitwise assignment
113  void operator=(const cubic&) = delete;
114 };
115 
116 
117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118 
119 } // End namespace XiProfiles
120 } // End namespace Foam
121 
122 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123 
124 #endif
125 
126 // ************************************************************************* //
Generic GeometricField class.
Base class for flame wrinkling profiles.
Definition: XiProfile.H:50
Simple cubic profile for the equilibrium flame wrinkling XiEq to give a plausible distribution.
Definition: cubic.H:68
TypeName("cubic")
Runtime type information.
void operator=(const cubic &)=delete
Disallow default bitwise assignment.
virtual bool readCoeffs(const dictionary &dict)
Update coefficients from given dictionary.
Definition: cubic.C:43
cubic(const dictionary &dict, const volScalarField &b)
Construct from components.
Definition: cubic.C:56
virtual tmp< volScalarField > profile() const
Return the flame-wrinkling profile.
Definition: cubic.C:76
virtual ~cubic()
Destructor.
Definition: cubic.C:70
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Definition: dictionary.H:162
A class for managing temporary objects.
Definition: tmp.H:55
volScalarField & b
Definition: createFields.H:27
Namespace for OpenFOAM.
dictionary dict