Gulder.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 -------------------------------------------------------------------------------
10 License
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 
26 Class
27  Foam::XiEqModels::Gulder
28 
29 Description
30  Simple Gulder model for XiEq based on Gulders correlation
31  with a linear correction function to give a plausible profile for XiEq.
32 
33 SourceFiles
34  Gulder.C
35 
36 \*---------------------------------------------------------------------------*/
37 
38 #ifndef Gulder_H
39 #define Gulder_H
40 
41 #include "XiEqModel.H"
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47 namespace XiEqModels
48 {
49 
50 /*---------------------------------------------------------------------------*\
51  Class Gulder Declaration
52 \*---------------------------------------------------------------------------*/
53 
54 class Gulder
55 :
56  public XiEqModel
57 {
58  // Private data
59 
60  //- Model constant
61  scalar XiEqCoef_;
62 
63  //- Minimum laminar burning velocity
64  const dimensionedScalar SuMin_;
65 
66  //- Schelkin effect Model constant
67  scalar uPrimeCoef_;
68 
69  //- Use sub-grid Schelkin effect
70  bool subGridSchelkin_;
71 
72 
73  // Private Member Functions
74 
75  //- No copy construct
76  Gulder(const Gulder&) = delete;
77 
78  //- No copy assignment
79  void operator=(const Gulder&) = delete;
80 
81 
82 public:
83 
84  //- Runtime type information
85  TypeName("Gulder");
86 
87 
88  // Constructors
89 
90  //- Construct from components
91  Gulder
92  (
93  const dictionary& XiEqProperties,
96  const volScalarField& Su
97  );
98 
99 
100  //- Destructor
101  virtual ~Gulder();
102 
103 
104  // Member Functions
105 
106  //- Return the flame-wrinkling XiEq
107  virtual tmp<volScalarField> XiEq() const;
108 
109  //- Update properties from given dictionary
110  virtual bool read(const dictionary& XiEqProperties);
111 
112 };
113 
114 
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
116 
117 } // End namespace XiEqModels
118 } // End namespace Foam
119 
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 
122 #endif
123 
124 // ************************************************************************* //
Foam::XiEqModel
Base-class for all XiEq models used by the b-XiEq combustion model. The available models are : basicX...
Definition: XiEqModel.H:59
Foam::XiEqModels::Gulder::read
virtual bool read(const dictionary &XiEqProperties)
Update properties from given dictionary.
turbulence
Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
Definition: createFields.H:94
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::psiuReactionThermo
Foam::psiuReactionThermo.
Definition: psiuReactionThermo.H:55
XiEqModel.H
thermo
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Foam::XiEqModels::Gulder
Simple Gulder model for XiEq based on Gulders correlation with a linear correction function to give a...
Definition: Gulder.H:53
Foam::XiEqModels::Gulder::~Gulder
virtual ~Gulder()
Destructor.
Su
zeroField Su
Definition: alphaSuSp.H:1
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:121
Foam::dimensioned< scalar >
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::compressible::RASModel
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
Definition: turbulentFluidThermoModel.H:66
Foam::XiEqModels::Gulder::XiEq
virtual tmp< volScalarField > XiEq() const
Return the flame-wrinkling XiEq.
Foam::XiEqModels::Gulder::TypeName
TypeName("Gulder")
Runtime type information.
Foam::GeometricField< scalar, fvPatchField, volMesh >