HrenyaSinclairViscosity.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) 2011-2023 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 HrenyaSinclairViscosity_H
35 #define HrenyaSinclairViscosity_H
36 
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 // ************************************************************************* //
Generic GeometricField class.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:162
tmp< volScalarField > nu(const volScalarField &alpha1, const volScalarField &Theta, const volScalarField &g0, const volScalarField &rho1, const volScalarField &da, const dimensionedScalar &e) const
HrenyaSinclair(const dictionary &dict)
Construct from components.
TypeName("HrenyaSinclair")
Runtime type information.
A class for managing temporary objects.
Definition: tmp.H:55
Namespace for OpenFOAM.
const doubleScalar e
Definition: doubleScalar.H:106
dictionary dict