OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

instabilityG.H

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002   =========                 |
00003   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
00004    \\    /   O peration     |
00005     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
00006      \\/     M anipulation  |
00007 -------------------------------------------------------------------------------
00008 License
00009     This file is part of OpenFOAM.
00010 
00011     OpenFOAM is free software; you can redistribute it and/or modify it
00012     under the terms of the GNU General Public License as published by the
00013     Free Software Foundation; either version 2 of the License, or (at your
00014     option) any later version.
00015 
00016     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
00017     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00018     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00019     for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with OpenFOAM; if not, write to the Free Software Foundation,
00023     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00024 
00025 Class
00026     Foam::XiGModels::instabilityG
00027 
00028 Description
00029     Flame-surface instabilityG flame-wrinking generation rate coefficient model
00030     used in \link XiModel.H \endlink.
00031 
00032     See Technical Report SH/RE/01R for details on the PDR modelling.
00033 
00034 SourceFiles
00035     instabilityG.C
00036 
00037 \*---------------------------------------------------------------------------*/
00038 
00039 #ifndef instabilityG_H
00040 #define instabilityG_H
00041 
00042 #include "XiGModel.H"
00043 
00044 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00045 
00046 namespace Foam
00047 {
00048 namespace XiGModels
00049 {
00050 
00051 /*---------------------------------------------------------------------------*\
00052                           Class instabilityG Declaration
00053 \*---------------------------------------------------------------------------*/
00054 
00055 class instabilityG
00056 :
00057     public XiGModel
00058 {
00059     // Private data
00060 
00061         //- Flame instabilityG wrinling generation rate coefficient
00062         dimensionedScalar GIn;
00063 
00064         //- InstabilityG length-scale
00065         dimensionedScalar lambdaIn;
00066 
00067         //- Xi generation rate model due to all other processes
00068         autoPtr<XiGModel> XiGModel_;
00069 
00070 
00071     // Private Member Functions
00072 
00073         //- Disallow copy construct
00074         instabilityG(const instabilityG&);
00075 
00076         //- Disallow default bitwise assignment
00077         void operator=(const instabilityG&);
00078 
00079 
00080 public:
00081 
00082     //- Runtime type information
00083     TypeName("instabilityG");
00084 
00085 
00086     // Constructors
00087 
00088         //- Construct from components
00089         instabilityG
00090         (
00091             const dictionary& XiGProperties,
00092             const hhuCombustionThermo& thermo,
00093             const compressible::RASModel& turbulence,
00094             const volScalarField& Su
00095         );
00096 
00097 
00098     // Destructor
00099 
00100         virtual ~instabilityG();
00101 
00102 
00103     // Member Functions
00104 
00105         //- Return the flame-wrinking generation rate
00106         virtual tmp<volScalarField> G() const;
00107 
00108         //- Return the flame diffusivity
00109         virtual tmp<volScalarField> Db() const;
00110 
00111         //- Update properties from given dictionary
00112         virtual bool read(const dictionary& XiGProperties);
00113 };
00114 
00115 
00116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00117 
00118 } // End namespace XiGModels
00119 } // End namespace Foam
00120 
00121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00122 
00123 #endif
00124 
00125 // ************************************************************************* //
Copyright © 2000-2009 OpenCFD Ltd