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-2022 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 
70 public:
71 
72  //- Runtime type information
73  TypeName("slurry");
74 
75 
76  // Constructors
77 
78  //- Construct from mixture
80 
81 
82  //- Destructor
83  virtual ~slurry()
84  {}
85 
86 
87  // Member Functions
88 
89  //- Return the mixture viscosity
90  // given the viscosity of the continuous phase
91  virtual tmp<volScalarField> mu
92  (
93  const volScalarField& muc,
94  const volVectorField& U
95  ) const;
96 
97  //- Read phaseProperties dictionary
98  virtual bool read();
99 };
100 
101 
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
103 
104 } // End namespace mixtureViscosityModels
105 } // End namespace Foam
106 
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 
109 #endif
110 
111 // ************************************************************************* //
A two-phase incompressible transportModel for interacting phases requiring the direct evaluation of t...
U
Definition: pEqn.H:72
Thomas&#39; viscosity correction for slurry.
Definition: slurry.H:64
volScalarField muc(IOobject(IOobject::groupName("mu", continuousPhaseName), runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), rhoc *continuousPhaseViscosity->nu())
TypeName("slurry")
Runtime type information.
An abstract base class for incompressible mixtureViscosityModels.
slurry(const incompressibleTwoPhaseInteractingMixture &mixture)
Construct from mixture.
virtual ~slurry()
Destructor.
Definition: slurry.H:82
virtual tmp< volScalarField > mu(const volScalarField &muc, const volVectorField &U) const
Return the mixture viscosity.
A class for managing temporary objects.
Definition: PtrList.H:53
virtual bool read()
Read phaseProperties dictionary.
Namespace for OpenFOAM.