1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
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
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
26 Foam::XiModels::transport
29 Simple transport model for Xi based on Gulders correlation
30 with a linear correction function to give a plausible profile for Xi.
31 See report TR/HGW/10 for details on the Weller two equations model.
32 See \link XiModel.H \endlink for more details on flame wrinkling modelling.
37 \*---------------------------------------------------------------------------*/
43 #include "XiEqModel.H"
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53 /*---------------------------------------------------------------------------*\
54 Class transport Declaration
55 \*---------------------------------------------------------------------------*/
65 autoPtr<XiEqModel> XiEqModel_;
66 autoPtr<XiGModel> XiGModel_;
69 // Private Member Functions
71 //- Disallow copy construct
72 transport(const transport&);
74 //- Disallow default bitwise assignment
75 void operator=(const transport&);
80 //- Runtime type information
81 TypeName("transport");
86 //- Construct from components
89 const dictionary& XiProperties,
90 const hhuCombustionThermo& thermo,
91 const compressible::RASModel& turbulence,
92 const volScalarField& Su,
93 const volScalarField& rho,
94 const volScalarField& b,
95 const surfaceScalarField& phi
101 virtual ~transport();
106 //- Return the flame diffusivity
107 virtual tmp<volScalarField> Db() const;
109 //- Add Xi to the multivariateSurfaceInterpolationScheme table
112 multivariateSurfaceInterpolationScheme<scalar>::fieldTable& fields
118 //- Correct the flame-wrinking Xi
119 virtual void correct()
121 notImplemented("transport::correct()");
124 //- Correct the flame-wrinking Xi using the given convection scheme
125 virtual void correct(const fv::convectionScheme<scalar>& mvConvection);
127 //- Update properties from given dictionary
128 virtual bool read(const dictionary& XiProperties);
132 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
134 } // End namespace XiModels
135 } // End namespace Foam
137 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
141 // ************************************************************************* //