slurry.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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.
20 
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/>.
23 
24 Class
25  Foam::mixtureViscosityModels::slurry
26 
27 Description
28  Thomas' viscosity correction for slurry.
29 
30  References:
31  \verbatim
32  "Transport characteristics of suspension:
33  VIII. A note on the viscosity of Newtonian suspensions
34  of uniform spherical particles".
35  D.G. Thomas,
36  J. Colloid Sci. 20 (3), 1965, p267.
37  \endverbatim
38 
39 SourceFiles
40  slurry.C
41 
42 \*---------------------------------------------------------------------------*/
43 
44 #ifndef slurry_H
45 #define slurry_H
46 
47 #include "mixtureViscosityModel.H"
48 #include "dimensionedScalar.H"
49 #include "volFields.H"
50 
51 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52 
53 namespace Foam
54 {
55 
56 class incompressibleTwoPhaseInteractingMixture;
57 
58 namespace mixtureViscosityModels
59 {
60 
61 /*---------------------------------------------------------------------------*\
62  Class slurry Declaration
63 \*---------------------------------------------------------------------------*/
64 
65 class slurry
66 :
68 {
69 protected:
70 
71  // Protected data
72 
73  //- Slurry phase fraction
74  const volScalarField& alpha_;
75 
76 
77 public:
78 
79  //- Runtime type information
80  TypeName("slurry");
81 
82 
83  // Constructors
84 
85  //- Construct from components
86  slurry
87  (
88  const word& name,
90  const volVectorField& U,
91  const surfaceScalarField& phi,
92  const word modelName=typeName
93  );
94 
95 
96  //- Destructor
97  ~slurry()
98  {}
99 
100 
101  // Member Functions
102 
103  //- Return the mixture viscosity
104  // given the viscosity of the continuous phase
105  tmp<volScalarField> mu(const volScalarField& muc) const;
106 
107  //- Read transportProperties dictionary
108  bool read(const dictionary& viscosityProperties);
109 };
110 
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 } // End namespace mixtureViscosityModels
115 } // End namespace Foam
116 
117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118 
119 #endif
120 
121 // ************************************************************************* //
surfaceScalarField & phi
Thomas&#39; viscosity correction for slurry.
Definition: slurry.H:64
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
TypeName("slurry")
Runtime type information.
const volScalarField & alpha_
Slurry phase fraction.
Definition: slurry.H:73
tmp< volScalarField > mu(const volScalarField &muc) const
Return the mixture viscosity.
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
An abstract base class for incompressible mixtureViscosityModels.
A class for handling words, derived from string.
Definition: word.H:59
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
word name(const complex &)
Return a string representation of a complex.
Definition: complex.C:47
U
Definition: pEqn.H:72
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: PtrList.H:53
Namespace for OpenFOAM.