Loading...
Searching...
No Matches
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
59
61{
63/*---------------------------------------------------------------------------*\
64 Class slurry Declaration
65\*---------------------------------------------------------------------------*/
66
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
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
114// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115
116} // End namespace mixtureViscosityModels
117} // End namespace Foam
119// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120
121#endif
122
123// ************************************************************************* //
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition dictionary.H:133
A two-phase incompressible transportModel for interacting phases requiring the direct evaluation of t...
mixtureViscosityModel(const mixtureViscosityModel &)=delete
No copy construct.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
TypeName("slurry")
Runtime type information.
tmp< volScalarField > mu(const volScalarField &muc) const
Return the mixture viscosity.
const volScalarField & alpha_
Slurry phase fraction.
Definition slurry.H:73
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:75
A class for handling words, derived from Foam::string.
Definition word.H:66
U
Definition pEqn.H:72
A namespace for incompressible mixtureViscosityModel implementations.
Namespace for OpenFOAM.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
Definition exprTraits.C:127
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition typeInfo.H:68