OpenFOAM
10
The OpenFOAM Foundation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Quemada.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) 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::Quemada
26
27
Description
28
Quemada viscosity model for for colloidal dispersions.
29
30
References:
31
\verbatim
32
Quemada, D. (1998).
33
Rheological modelling of complex fluids. I.
34
The concept of effective volume fraction revisited.
35
The European Physical Journal-Applied Physics, 1(1), 119-127.
36
\endverbatim
37
38
Usage
39
Example usage:
40
\verbatim
41
viscosityModel Quemada;
42
43
rho 1996; // Dispersed phase density
44
45
q 2; // Exponent, defaults to 2
46
muMax 1e-2; // Maximum viscosity (for numerical stability)
47
48
\endverbatim
49
50
SourceFiles
51
Quemada.C
52
53
\*---------------------------------------------------------------------------*/
54
55
#ifndef Quemada_H
56
#define Quemada_H
57
58
#include "
mixtureViscosityModel.H
"
59
#include "
dimensionedScalar.H
"
60
#include "
volFieldsFwd.H
"
61
62
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
63
64
namespace
Foam
65
{
66
namespace
mixtureViscosityModels
67
{
68
69
/*---------------------------------------------------------------------------*\
70
Class Quemada Declaration
71
\*---------------------------------------------------------------------------*/
72
73
class
Quemada
74
:
75
public
mixtureViscosityModel
76
{
77
// Private data
78
79
//- Exponent (defaults to 2)
80
scalar q_;
81
82
//- Maximum viscosity
83
dimensionedScalar
muMax_;
84
85
86
public
:
87
88
//- Runtime type information
89
TypeName
(
"Quemada"
);
90
91
92
// Constructors
93
94
//- Construct from mixture
95
Quemada
(
const
incompressibleTwoPhaseInteractingMixture
&
mixture
);
96
97
98
//- Destructor
99
virtual
~Quemada
()
100
{}
101
102
103
// Member Functions
104
105
//- Return the mixture viscosity
106
// given the viscosity of the continuous phase
107
virtual
tmp<volScalarField>
mu
108
(
109
const
volScalarField
&
muc
,
110
const
volVectorField
&
U
111
)
const
;
112
113
//- Read phaseProperties dictionary
114
virtual
bool
read
();
115
};
116
117
118
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119
120
}
// End namespace mixtureViscosityModels
121
}
// End namespace Foam
122
123
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124
125
#endif
126
127
// ************************************************************************* //
Foam::mixtureViscosityModels::Quemada::~Quemada
virtual ~Quemada()
Destructor.
Definition:
Quemada.H:98
Foam::incompressibleTwoPhaseInteractingMixture
A two-phase incompressible transportModel for interacting phases requiring the direct evaluation of t...
Definition:
incompressibleTwoPhaseInteractingMixture.H:56
Foam::mixtureViscosityModels::Quemada::read
virtual bool read()
Read phaseProperties dictionary.
U
U
Definition:
pEqn.H:72
volFieldsFwd.H
muc
volScalarField muc(IOobject(IOobject::groupName("mu", continuousPhaseName), runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), rhoc *continuousPhaseViscosity->nu())
Foam::GeometricField< scalar, fvPatchField, volMesh >
Foam::dimensioned< scalar >
Foam::mixtureViscosityModel
An abstract base class for incompressible mixtureViscosityModels.
Definition:
mixtureViscosityModel.H:57
Foam::mixtureViscosityModels::Quemada
Quemada viscosity model for for colloidal dispersions.
Definition:
Quemada.H:72
mixtureViscosityModel.H
Foam::mixtureViscosityModels::Quemada::TypeName
TypeName("Quemada")
Runtime type information.
dimensionedScalar.H
Foam::mixtureViscosityModels::Quemada::mu
virtual tmp< volScalarField > mu(const volScalarField &muc, const volVectorField &U) const
Return the mixture viscosity.
Foam::mixture
Definition:
mixture.H:52
Foam::tmp
A class for managing temporary objects.
Definition:
PtrList.H:53
Foam::mixtureViscosityModels::Quemada::Quemada
Quemada(const incompressibleTwoPhaseInteractingMixture &mixture)
Construct from mixture.
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.H:213
applications
solvers
multiphase
driftFluxFoam
mixtureViscosityModels
Quemada
Quemada.H
Generated by
1.8.13