SCOPEBlendXiEq.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::XiEqModels::SCOPEBlend
28
29Description
30 Simple SCOPEBlendXiEq model for XiEq based on SCOPEXiEqs correlation
31 with a linear correction function to give a plausible profile for XiEq.
32 See \link SCOPELaminarFlameSpeed.H \endlink for details on the SCOPE
33 laminar flame speed model.
34
35SourceFiles
36 SCOPEBlend.C
37
38\*---------------------------------------------------------------------------*/
39
40#ifndef SCOPEBlend_H
41#define SCOPEBlend_H
42
43#include "XiEqModel.H"
44
45// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46
47namespace Foam
48{
49namespace XiEqModels
50{
51
52/*---------------------------------------------------------------------------*\
53 Class SCOPEBlend Declaration
54\*---------------------------------------------------------------------------*/
56class SCOPEBlend
57:
58 public XiEqModel
59{
60 // Private data
61
62 //- Low turbulence intensity equilibrium Xi model
63 autoPtr<XiEqModel> XiEqModelL_;
64
65 //- High turbulence intensity equilibrium Xi model
66 autoPtr<XiEqModel> XiEqModelH_;
67
68
69 // Private Member Functions
70
71 //- No copy construct
72 SCOPEBlend(const SCOPEBlend&) = delete;
73
74 //- No copy assignment
75 void operator=(const SCOPEBlend&) = delete;
76
77
78public:
79
80 //- Runtime type information
81 TypeName("SCOPEBlend");
82
83
84 // Constructors
85
86 //- Construct from components
88 (
89 const dictionary& XiEqProperties,
91 const compressible::RASModel& turbulence,
92 const volScalarField& Su
93 );
94
95
96 //- Destructor
97 virtual ~SCOPEBlend();
98
99
100 // Member Functions
101
102 //- Return the flame-wrinkling XiEq
103 virtual tmp<volScalarField> XiEq() const;
104
105 //- Update properties from given dictionary
106 virtual bool read(const dictionary& XiEqProperties)
107 {
108 return true;
109 }
110
111};
112
113
114// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115
116} // End namespace XiEqModels
117} // End namespace Foam
118
119// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120
121#endif
122
123// ************************************************************************* //
Base-class for all XiEq models used by the b-XiEq combustion model. The available models are : basicX...
Definition: XiEqModel.H:60
Simple SCOPEBlendXiEq model for XiEq based on SCOPEXiEqs correlation with a linear correction functio...
virtual tmp< volScalarField > XiEq() const
Return the flame-wrinkling XiEq.
virtual bool read(const dictionary &XiEqProperties)
Update properties from given dictionary.
TypeName("SCOPEBlend")
Runtime type information.
virtual ~SCOPEBlend()
Destructor.
SCOPEBlend(const dictionary &XiEqProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su)
Construct from components.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: autoPtr.H:66
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
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:65
zeroField Su
Definition: alphaSuSp.H:1
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
Namespace for OpenFOAM.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73