initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / solvers / combustion / PDRFoam / XiModels / XiGModels / KTS / KTS.H
blob2ca885d56784a5e21346108445498dd77b222991
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
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 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
19     for more details.
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
25 Class
26     Foam::XiGModels::KTS
28 Description
29     Simple Kolmogorov time-scale (KTS) model for the flame-wrinling generation
30     rate.
32 SourceFiles
33     KTS.C
35 \*---------------------------------------------------------------------------*/
37 #ifndef KTS_H
38 #define KTS_H
40 #include "XiGModel.H"
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 namespace Foam
46 namespace XiGModels
49 /*---------------------------------------------------------------------------*\
50                           Class KTS Declaration
51 \*---------------------------------------------------------------------------*/
53 class KTS
55     public XiGModel
57     // Private data
59         scalar GEtaCoef;
62     // Private Member Functions
64         //- Disallow copy construct
65         KTS(const KTS&);
67         //- Disallow default bitwise assignment
68         void operator=(const KTS&);
71 public:
73     //- Runtime type information
74     TypeName("KTS");
77     // Constructors
79         //- Construct from components
80         KTS
81         (
82             const dictionary& XiGProperties,
83             const hhuCombustionThermo& thermo,
84             const compressible::RASModel& turbulence,
85             const volScalarField& Su
86         );
89     // Destructor
91         virtual ~KTS();
94     // Member Functions
96         //- Return the flame-wrinking generation rate
97         virtual tmp<volScalarField> G() const;
99         //- Update properties from given dictionary
100         virtual bool read(const dictionary& XiGProperties);
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 } // End namespace XiGModels
107 } // End namespace Foam
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 #endif
113 // ************************************************************************* //