slurry.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) 2014 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::mixtureViscosityModels::slurry
28
29Description
30 Thomas' viscosity correction for slurry.
31
32 References:
33 \verbatim
34 "Transport characteristics of suspension:
35 VIII. A note on the viscosity of Newtonian suspensions
36 of uniform spherical particles".
37 D.G. Thomas,
38 J. Colloid Sci. 20 (3), 1965, p267.
39 \endverbatim
40
41SourceFiles
42 slurry.C
43
44\*---------------------------------------------------------------------------*/
45
46#ifndef slurry_H
47#define slurry_H
48
50#include "dimensionedScalar.H"
51#include "volFields.H"
52
53// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
54
55namespace Foam
56{
57
58class incompressibleTwoPhaseInteractingMixture;
59
60namespace mixtureViscosityModels
61{
62
63/*---------------------------------------------------------------------------*\
64 Class slurry Declaration
65\*---------------------------------------------------------------------------*/
67class slurry
68:
70{
71protected:
72
73 // Protected data
74
75 //- Slurry phase fraction
77
78
79public:
80
81 //- Runtime type information
82 TypeName("slurry");
83
84
85 // Constructors
86
87 //- Construct from components
88 slurry
89 (
90 const word& name,
92 const volVectorField& U,
94 const word modelName=typeName
95 );
96
97
98 //- Destructor
99 ~slurry()
100 {}
101
102
103 // Member Functions
104
105 //- Return the mixture viscosity
106 // given the viscosity of the continuous phase
107 tmp<volScalarField> mu(const volScalarField& muc) const;
108
109 //- Read transportProperties dictionary
111};
112
113
114// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115
116} // End namespace mixtureViscosityModels
117} // End namespace Foam
118
119// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120
121#endif
122
123// ************************************************************************* //
surfaceScalarField & phi
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
An abstract base class for incompressible mixtureViscosityModels.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
Thomas' viscosity correction for slurry.
Definition: slurry.H:69
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
TypeName("slurry")
Runtime type information.
const volScalarField & alpha_
Slurry phase fraction.
Definition: slurry.H:75
slurry(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi, const word modelName=typeName)
Construct from components.
A class for managing temporary objects.
Definition: tmp.H:65
A class for handling words, derived from Foam::string.
Definition: word.H:68
U
Definition: pEqn.H:72
const volScalarField & mu
Namespace for OpenFOAM.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Definition: exprTraits.C:59
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73