ENH: Include relative includes directly, instead of using -I
[freefoam.git] / applications / solvers / combustion / PDRFoam / XiModels / XiGModels / instabilityG / instabilityG.H
blob3df9177df6958a9a6d2ce4595735d13d30acef65
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
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.
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.
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/>.
24 Class
25     Foam::XiGModels::instabilityG
27 Description
28     Flame-surface instabilityG flame-wrinking generation rate coefficient model
29     used in \link XiModel.H \endlink.
31     See Technical Report SH/RE/01R for details on the PDR modelling.
33 SourceFiles
34     instabilityG.C
36 \*---------------------------------------------------------------------------*/
38 #ifndef instabilityG_H
39 #define instabilityG_H
41 #include "../XiGModel/XiGModel.H"
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 namespace Foam
47 namespace XiGModels
50 /*---------------------------------------------------------------------------*\
51                           Class instabilityG Declaration
52 \*---------------------------------------------------------------------------*/
54 class instabilityG
56     public XiGModel
58     // Private data
60         //- Flame instabilityG wrinling generation rate coefficient
61         dimensionedScalar GIn;
63         //- InstabilityG length-scale
64         dimensionedScalar lambdaIn;
66         //- Xi generation rate model due to all other processes
67         autoPtr<XiGModel> XiGModel_;
70     // Private Member Functions
72         //- Disallow copy construct
73         instabilityG(const instabilityG&);
75         //- Disallow default bitwise assignment
76         void operator=(const instabilityG&);
79 public:
81     //- Runtime type information
82     TypeName("instabilityG");
85     // Constructors
87         //- Construct from components
88         instabilityG
89         (
90             const dictionary& XiGProperties,
91             const hhuCombustionThermo& thermo,
92             const compressible::RASModel& turbulence,
93             const volScalarField& Su
94         );
97     // Destructor
99         virtual ~instabilityG();
102     // Member Functions
104         //- Return the flame-wrinking generation rate
105         virtual tmp<volScalarField> G() const;
107         //- Return the flame diffusivity
108         virtual tmp<volScalarField> Db() const;
110         //- Update properties from given dictionary
111         virtual bool read(const dictionary& XiGProperties);
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 } // End namespace XiGModels
118 } // End namespace Foam
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 #endif
124 // ************************ vim: set sw=4 sts=4 et: ************************ //