Forward compatibility: flex
[foam-extend-3.2.git] / src / thermophysicalModels / laminarFlameSpeed / Gulders / Gulders.H
blob29976fb46326280fed3a53b79aa3b4e502632545
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     | Version:     3.2
5     \\  /    A nd           | Web:         http://www.foam-extend.org
6      \\/     M anipulation  | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation, either version 3 of the License, or (at your
14     option) any later version.
16     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 Class
25     Foam::laminarFlameSpeedModels::Gulders
27 Description
28     Laminar flame speed obtained from Gulder's correlation.
30 SourceFiles
31     Gulders.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef Gulders_H
36 #define Gulders_H
38 #include "laminarFlameSpeed.H"
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 namespace Foam
44 namespace laminarFlameSpeedModels
47 /*---------------------------------------------------------------------------*\
48                            Class Gulders Declaration
49 \*---------------------------------------------------------------------------*/
51 class Gulders
53     public laminarFlameSpeed
55     // Private Data
57         dictionary coeffsDict_;
59         scalar W_;
60         scalar eta_;
61         scalar xi_;
62         scalar f_;
63         scalar alpha_;
64         scalar beta_;
67     // Private member functions
69         inline scalar SuRef
70         (
71             scalar phi
72         ) const;
74         inline scalar Su0pTphi
75         (
76             scalar p,
77             scalar Tu,
78             scalar phi,
79             scalar Yres
80         ) const;
82         tmp<volScalarField> Su0pTphi
83         (
84             const volScalarField& p,
85             const volScalarField& Tu,
86             scalar phi
87         ) const;
89         tmp<volScalarField> Su0pTphi
90         (
91             const volScalarField& p,
92             const volScalarField& Tu,
93             const volScalarField& phi
94         ) const;
96         //- Construct as copy (not implemented)
97         Gulders(const Gulders&);
99         void operator=(const Gulders&);
102 public:
104     //- Runtime type information
105     TypeName("Gulders");
107     // Constructors
109         //- Construct from dictionary and hhuCombustionThermo
110         Gulders
111         (
112             const dictionary&,
113             const hhuCombustionThermo&
114         );
117     // Destructor
119         ~Gulders();
122     // Member functions
124         //- Return the laminar flame speed [m/s]
125         tmp<volScalarField> operator()() const;
129 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
131 } // End laminarFlameSpeedModels
132 } // End namespace Foam
134 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
136 #endif
138 // ************************************************************************* //