HrenyaSinclairViscosity.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 | Copyright (C) 2011-2015 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::kineticTheoryModels::viscosityModels::HrenyaSinclair
26 
27 Description
28 
29 SourceFiles
30  HrenyaSinclairViscosity.C
31 
32 \*---------------------------------------------------------------------------*/
33 
34 #ifndef HrenyaSinclair_H
35 #define HrenyaSinclair_H
36 
37 #include "viscosityModel.H"
38 
39 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 
41 namespace Foam
42 {
43 namespace kineticTheoryModels
44 {
45 namespace viscosityModels
46 {
47 
48 /*---------------------------------------------------------------------------*\
49  Class HrenyaSinclair Declaration
50 \*---------------------------------------------------------------------------*/
51 
52 class HrenyaSinclair
53 :
54  public viscosityModel
55 {
56  // Private data
57 
58  dictionary coeffDict_;
59 
60  //- Characteristic length of geometry
62 
63 
64 public:
65 
66  //- Runtime type information
67  TypeName("HrenyaSinclair");
68 
69 
70  // Constructors
71 
72  //- Construct from components
74 
75 
76  //- Destructor
77  virtual ~HrenyaSinclair();
78 
79 
80  // Member functions
81 
83  (
84  const volScalarField& alpha1,
85  const volScalarField& Theta,
86  const volScalarField& g0,
87  const volScalarField& rho1,
88  const volScalarField& da,
89  const dimensionedScalar& e
90  ) const;
91 
92  virtual bool read();
93 };
94 
95 
96 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
97 
98 } // End namespace viscosityModels
99 } // End namespace kineticTheoryModels
100 } // End namespace Foam
101 
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
103 
104 #endif
105 
106 // ************************************************************************* //
dictionary dict
const double e
Elementary charge.
Definition: doubleFloat.H:78
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
rho1
Definition: pEqn.H:114
volScalarField & alpha1
tmp< volScalarField > nu(const volScalarField &alpha1, const volScalarField &Theta, const volScalarField &g0, const volScalarField &rho1, const volScalarField &da, const dimensionedScalar &e) const
TypeName("HrenyaSinclair")
Runtime type information.
HrenyaSinclair(const dictionary &dict)
Construct from components.
A class for managing temporary objects.
Definition: PtrList.H:54
Namespace for OpenFOAM.