fixed.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::XiModels::fixed
28
29Description
30 Fixed value model for Xi. See \link XiModel.H \endlink for more details
31 on flame wrinkling modelling.
32
33SourceFiles
34 fixed.C
35
36\*---------------------------------------------------------------------------*/
37
38#ifndef fixed_H
39#define fixed_H
40
41#include "XiModel.H"
42
43// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44
45namespace Foam
46{
47namespace XiModels
48{
49
50/*---------------------------------------------------------------------------*\
51 Class fixed Declaration
52\*---------------------------------------------------------------------------*/
54class fixed
55:
56 public XiModel
57{
58 // Private Member Functions
59
60 //- No copy construct
61 fixed(const fixed&) = delete;
62
63 //- No copy assignment
64 void operator=(const fixed&) = delete;
65
66
67public:
68
69 //- Runtime type information
70 TypeName("fixed");
71
72
73 // Constructors
74
75 //- Construct from components
76 fixed
77 (
78 const dictionary& XiProperties,
80 const compressible::RASModel& turbulence,
81 const volScalarField& Su,
82 const volScalarField& rho,
83 const volScalarField& b,
85 );
86
87
88 //- Destructor
89 virtual ~fixed();
90
91
92 // Member Functions
93
94 //- Correct the flame-wrinkling Xi
95 virtual void correct()
96 {}
97
98 //- Update properties from given dictionary
99 virtual bool read(const dictionary& XiProperties);
100
101 //- Write fields of the XiEq model
102 virtual void writeFields()
103 {}
104
105};
106
107
108// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109
110} // End namespace XiModels
111} // End namespace Foam
112
113// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
114
115#endif
116
117// ************************************************************************* //
surfaceScalarField & phi
Base-class for all Xi models used by the b-Xi combustion model. See Technical Report SH/RE/01R for de...
Definition: XiModel.H:111
Fixed value model for Xi. See XiModel.H for more details on flame wrinkling modelling.
Definition: fixed.H:56
virtual void writeFields()
Write fields of the XiEq model.
Definition: fixed.H:101
virtual bool read(const dictionary &XiProperties)
Update properties from given dictionary.
fixed(const dictionary &XiProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su, const volScalarField &rho, const volScalarField &b, const surfaceScalarField &phi)
Construct from components.
TypeName("fixed")
Runtime type information.
virtual ~fixed()
Destructor.
virtual void correct()
Correct the flame-wrinkling Xi.
Definition: fixed.H:94
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...
zeroField Su
Definition: alphaSuSp.H:1
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
Namespace for OpenFOAM.
volScalarField & b
Definition: createFields.H:27
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73