unstrained.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::SuModels::unstrained
26 
27 Description
28  Simple unstrained model for the laminar flame speed
29 
30 SourceFiles
31  unstrained.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef unstrained_H
36 #define unstrained_H
37 
38 #include "SuModel.H"
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
42 namespace Foam
43 {
44 
45 class laminarFlameSpeed;
46 
47 namespace SuModels
48 {
49 
50 /*---------------------------------------------------------------------------*\
51  Class unstrained Declaration
52 \*---------------------------------------------------------------------------*/
53 
54 class unstrained
55 :
56  public SuModel
57 {
58 protected:
59 
61 
62  //- Update coefficients from given dictionary
63  virtual bool readCoeffs(const dictionary& dict);
64 
65 
66 public:
67 
68  //- Runtime type information
69  TypeName("unstrained");
70 
71 
72  // Constructors
73 
74  //- Construct from components
76  (
77  const dictionary& dict,
80  );
81 
82  //- Disallow default bitwise copy construction
83  unstrained(const unstrained&) = delete;
84 
85 
86  //- Destructor
87  virtual ~unstrained();
88 
89 
90  // Member Functions
91 
92  //- Correct the laminar flame speed
93  virtual void correct();
94 
95 
96  // Member Operators
97 
98  //- Disallow default bitwise assignment
99  void operator=(const unstrained&) = delete;
100 };
101 
102 
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 
105 } // End namespace SuModels
106 } // End namespace Foam
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 #endif
111 
112 // ************************************************************************* //
Base-class for all Su models used by the b-Xi combustion model.
Definition: SuModel.H:65
Simple unstrained model for the laminar flame speed.
Definition: unstrained.H:56
virtual void correct()
Correct the laminar flame speed.
Definition: unstrained.C:81
autoPtr< laminarFlameSpeed > Su0_
Definition: unstrained.H:59
unstrained(const dictionary &dict, const psiuMulticomponentThermo &thermo, const fluidThermoThermophysicalTransportModel &turbulence)
Construct from components.
Definition: unstrained.C:53
virtual bool readCoeffs(const dictionary &dict)
Update coefficients from given dictionary.
Definition: unstrained.C:44
void operator=(const unstrained &)=delete
Disallow default bitwise assignment.
virtual ~unstrained()
Destructor.
Definition: unstrained.C:75
TypeName("unstrained")
Runtime type information.
Templated abstract base class for thermophysical transport models.
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.
Namespace for OpenFOAM.
dictionary dict
autoPtr< incompressible::momentumTransportModel > turbulence(incompressible::momentumTransportModel::New(U, phi, viscosity))
fluidMulticomponentThermo & thermo
Definition: createFields.H:31