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-2024 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  Reference:
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 
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 
52 namespace Foam
53 {
54 
55 class incompressibleDriftFluxMixture;
56 
57 namespace mixtureViscosityModels
58 {
59 
60 /*---------------------------------------------------------------------------*\
61  Class slurry Declaration
62 \*---------------------------------------------------------------------------*/
63 
64 class slurry
65 :
67 {
68 
69 public:
70 
71  //- Runtime type information
72  TypeName("slurry");
73 
74 
75  // Constructors
76 
77  //- Construct from mixture
79 
80 
81  //- Destructor
82  virtual ~slurry()
83  {}
84 
85 
86  // Member Functions
87 
88  //- Return the mixture viscosity
89  // given the viscosity of the continuous phase
90  virtual tmp<volScalarField> mu
91  (
92  const volScalarField& muc,
93  const volVectorField& U
94  ) const;
95 
96  //- Read phaseProperties dictionary
97  virtual bool read();
98 };
99 
100 
101 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
102 
103 } // End namespace mixtureViscosityModels
104 } // End namespace Foam
105 
106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107 
108 #endif
109 
110 // ************************************************************************* //
Generic GeometricField class.
Class to represent a mixture of two constant density phases.
An abstract base class for incompressible mixtureViscosityModels.
Thomas' viscosity correction for slurry.
Definition: slurry.H:66
virtual tmp< volScalarField > mu(const volScalarField &muc, const volVectorField &U) const
Return the mixture viscosity.
Definition: slurry.C:63
TypeName("slurry")
Runtime type information.
slurry(const incompressibleDriftFluxMixture &mixture)
Construct from mixture.
Definition: slurry.C:51
virtual ~slurry()
Destructor.
Definition: slurry.H:81
virtual bool read()
Read phaseProperties dictionary.
Definition: slurry.C:77
A class for managing temporary objects.
Definition: tmp.H:55
U
Definition: pEqn.H:72
Namespace for OpenFOAM.