1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2008 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 the
13 Free Software Foundation; either version 2 of the License, or (at your
14 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, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29 Basic sub-grid obstacle flame-wrinking generation rate coefficient model.
30 Details supplied by J Puttock 2/7/06.
35 \*---------------------------------------------------------------------------*/
37 #ifndef basicSubGrid_H
38 #define basicSubGrid_H
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 /*---------------------------------------------------------------------------*\
50 Class basicSubGrid Declaration
51 \*---------------------------------------------------------------------------*/
59 //- Sub-grid generation rate coefficient
62 //- Xi generation rate model due to turbulence
63 autoPtr<XiGModel> XiGModel_;
66 // Private Member Functions
68 //- Disallow copy construct
69 basicSubGrid(const basicSubGrid&);
71 //- Disallow default bitwise assignment
72 void operator=(const basicSubGrid&);
77 //- Runtime type information
78 TypeName("basicSubGridG");
83 //- Construct from components
86 const dictionary& XiGProperties,
87 const hhuCombustionThermo& thermo,
88 const compressible::RASModel& turbulence,
89 const volScalarField& Su
95 virtual ~basicSubGrid();
100 //- Return the flame-wrinking generation rate
101 virtual tmp<volScalarField> G() const;
103 //- Return the flame diffusivity
104 virtual tmp<volScalarField> Db() const;
106 //- Update properties from given dictionary
107 virtual bool read(const dictionary& XiGProperties);
111 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 } // End namespace XiGModels
114 } // End namespace Foam
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120 // ************************************************************************* //