initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / solvers / combustion / PDRFoam / XiModels / fixed / fixed.H
blob968ed87d04e4962f9d3c539c684a9082e2a834a9
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::XiModels::fixed
28 Description
29     Fixed value model for Xi. See \link XiModel.H \endlink for more details
30     on flame wrinkling modelling.
32 SourceFiles
33     fixed.C
35 \*---------------------------------------------------------------------------*/
37 #ifndef fixed_H
38 #define fixed_H
40 #include "XiModel.H"
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 namespace Foam
46 namespace XiModels
49 /*---------------------------------------------------------------------------*\
50                           Class fixed Declaration
51 \*---------------------------------------------------------------------------*/
53 class fixed
55     public XiModel
57     // Private Member Functions
59         //- Disallow copy construct
60         fixed(const fixed&);
62         //- Disallow default bitwise assignment
63         void operator=(const fixed&);
66 public:
68     //- Runtime type information
69     TypeName("fixed");
72     // Constructors
74         //- Construct from components
75         fixed
76         (
77             const dictionary& XiProperties,
78             const hhuCombustionThermo& thermo,
79             const compressible::RASModel& turbulence,
80             const volScalarField& Su,
81             const volScalarField& rho,
82             const volScalarField& b,
83             const surfaceScalarField& phi
84         );
87     // Destructor
89         virtual ~fixed();
92     // Member Functions
94         //- Correct the flame-wrinking Xi
95         virtual void correct()
96         {}
98         //- Update properties from given dictionary
99         virtual bool read(const dictionary& XiProperties);
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 } // End namespace XiModels
106 } // End namespace Foam
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 #endif
112 // ************************************************************************* //