1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
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
41 #include "../XiGModel/XiGModel.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
99 virtual ~instabilityG();
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 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124 // ************************ vim: set sw=4 sts=4 et: ************************ //