1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
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
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/>.
25 Foam::XiGModels::instabilityG
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.
36 \*---------------------------------------------------------------------------*/
38 #ifndef instabilityG_H
39 #define instabilityG_H
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 /*---------------------------------------------------------------------------*\
51 Class instabilityG Declaration
52 \*---------------------------------------------------------------------------*/
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&);
81 //- Runtime type information
82 TypeName("instabilityG");
87 //- Construct from components
90 const dictionary& XiGProperties,
91 const hhuCombustionThermo& thermo,
92 const compressible::RASModel& turbulence,
93 const volScalarField& Su
98 virtual ~instabilityG();
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 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123 // ************************************************************************* //