initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / solvers / combustion / PDRFoam / XiModels / XiEqModels / SCOPEXiEq / SCOPEXiEq.H
blob91d3a0f519cb354987296d9d70f0a35a9e39e962
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::XiEqModel::SCOPEXiEq
28 Description
29     Simple SCOPEXiEq model for XiEq based on SCOPEXiEqs correlation
30     with a linear correction function to give a plausible profile for XiEq.
31     See \link SCOPELaminarFlameSpeed.H \endlink for details on the SCOPE laminar
32     flame speed model.
34 SourceFiles
35     SCOPEXiEq.C
37 \*---------------------------------------------------------------------------*/
39 #ifndef SCOPEXiEq_H
40 #define SCOPEXiEq_H
42 #include "XiEqModel.H"
43 #include "SCOPELaminarFlameSpeed.H"
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 namespace Foam
49 namespace XiEqModels
52 /*---------------------------------------------------------------------------*\
53                           Class SCOPEXiEq Declaration
54 \*---------------------------------------------------------------------------*/
56 class SCOPEXiEq
58     public XiEqModel
60     // Private data
62         scalar XiEqCoef;
63         scalar XiEqExp;
64         scalar lCoef;
65         dimensionedScalar SuMin;
67         //- The SCOPE laminar flame speed model used to obtain the
68         //  Marstein number.  Note: the laminar flame speed need not be
69         //  obtained form the same model.
70         laminarFlameSpeedModels::SCOPE MaModel;
73     // Private Member Functions
75         //- Disallow copy construct
76         SCOPEXiEq(const SCOPEXiEq&);
78         //- Disallow default bitwise assignment
79         void operator=(const SCOPEXiEq&);
82 public:
84     //- Runtime type information
85     TypeName("SCOPEXiEq");
88     // Constructors
90         //- Construct from components
91         SCOPEXiEq
92         (
93             const dictionary& XiEqProperties,
94             const hhuCombustionThermo& thermo,
95             const compressible::RASModel& turbulence,
96             const volScalarField& Su
97         );
100     // Destructor
102         virtual ~SCOPEXiEq();
105     // Member Functions
107         //- Return the flame-wrinking XiEq
108         virtual tmp<volScalarField> XiEq() const;
110         //- Update properties from given dictionary
111         virtual bool read(const dictionary& XiEqProperties);
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 } // End namespace XiEqModels
118 } // End namespace Foam
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 #endif
124 // ************************************************************************* //