Loading...
Searching...
No Matches
instabilityG.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2011-2012 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
11 This file is part of OpenFOAM.
12
13 OpenFOAM is free software: you can redistribute it and/or modify it
14 under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26Class
27 Foam::XiGModels::instabilityG
28
29Description
30 Flame-surface instabilityG flame-wrinkling generation rate coefficient model
31 used in \link XiModel.H \endlink.
32
33 See Technical Report SH/RE/01R for details on the PDR modelling.
34
35SourceFiles
36 instabilityG.C
37
38\*---------------------------------------------------------------------------*/
39
40#ifndef instabilityG_H
41#define instabilityG_H
42
43#include "XiGModel.H"
44
45// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46
47namespace Foam
48{
49namespace XiGModels
50{
52/*---------------------------------------------------------------------------*\
53 Class instabilityG Declaration
54\*---------------------------------------------------------------------------*/
55
56class instabilityG
57:
58 public XiGModel
59{
60 // Private data
61
62 //- Flame instabilityG wrinkling generation rate coefficient
64
65 //- InstabilityG length-scale
66 dimensionedScalar lambdaIn_;
67
68 //- Xi generation rate model due to all other processes
69 autoPtr<XiGModel> XiGModel_;
70
71
72 // Private Member Functions
73
74 //- No copy construct
75 instabilityG(const instabilityG&) = delete;
76
77 //- No copy assignment
78 void operator=(const instabilityG&) = delete;
79
80
81public:
82
83 //- Runtime type information
84 TypeName("instabilityG");
85
86
87 // Constructors
88
89 //- Construct from components
90 instabilityG
91 (
92 const dictionary& XiGProperties,
95 const volScalarField& Su
96 );
97
98
99 //- Destructor
100 virtual ~instabilityG();
101
102
103 // Member Functions
104
105 //- Return the flame-wrinkling generation rate
106 virtual tmp<volScalarField> G() const;
107
108 //- Return the flame diffusivity
109 virtual tmp<volScalarField> Db() const;
110
111 //- Update properties from given dictionary
112 virtual bool read(const dictionary& XiGProperties);
113};
114
115
116// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117
118} // End namespace XiGModels
119} // End namespace Foam
120
121// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122
123#endif
125// ************************************************************************* //
virtual bool read(const dictionary &XiGProperties)
Update properties from given dictionary.
instabilityG(const dictionary &XiGProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su)
Construct from components.
virtual tmp< volScalarField > G() const
Return the flame-wrinkling generation rate.
virtual tmp< volScalarField > Db() const
Return the flame diffusivity.
virtual ~instabilityG()
Destructor.
TypeName("instabilityG")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition autoPtr.H:65
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition dictionary.H:133
Foam::psiuReactionThermo.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
Definition tmp.H:75
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
Namespace for OpenFOAM.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
void Su(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition typeInfo.H:68