1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2004-2010 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
13 the Free Software Foundation, either version 3 of the License, or
14 (at your 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, see <http://www.gnu.org/licenses/>.
30 \*---------------------------------------------------------------------------*/
35 #include "dictionary.H"
36 #include "dimensionedScalar.H"
37 #include "volFields.H"
38 #include "surfaceFields.H"
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 /*---------------------------------------------------------------------------*\
46 Class phaseModel Declaration
47 \*---------------------------------------------------------------------------*/
58 //- Characteristic diameter of phase
61 //- kinematic viscosity
62 dimensionedScalar nu_;
65 dimensionedScalar rho_;
71 autoPtr<surfaceScalarField> phiPtr_;
81 const dictionary& transportProperties,
88 //- Return a reference to the selected turbulence model
89 static autoPtr<phaseModel> New
92 const dictionary& transportProperties,
98 virtual ~phaseModel();
103 const word& name() const
108 const dimensionedScalar& d() const
113 const dimensionedScalar& nu() const
118 const dimensionedScalar& rho() const
123 const volVectorField& U() const
133 const surfaceScalarField& phi() const
138 surfaceScalarField& phi()
145 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
147 } // End namespace Foam
149 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
153 // ************************************************************************* //