BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / applications / solvers / combustion / PDRFoam / XiModels / XiGModels / instabilityG / instabilityG.H
blobc75b4456db897eb6a12886cec22a3420506353f4
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
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.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
98     virtual ~instabilityG();
101     // Member Functions
103         //- Return the flame-wrinking generation rate
104         virtual tmp<volScalarField> G() const;
106         //- Return the flame diffusivity
107         virtual tmp<volScalarField> Db() const;
109         //- Update properties from given dictionary
110         virtual bool read(const dictionary& XiGProperties);
114 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
116 } // End namespace XiGModels
117 } // End namespace Foam
119 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 #endif
123 // ************************************************************************* //