nonEquilibrium.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 | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2013-2016 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::TimeScaleModels::nonEquilibrium
28 
29 Group
30  grpLagrangianIntermediateMPPICTimeScaleSubModels
31 
32 Description
33  Non-Equlibrium model for the time scale over which properties of a
34  dispersed phase tend towards the mean value.
35 
36  Reference:
37  \verbatim
38  "An improved collision damping time for MP-PIC calculations of dense
39  particle flows with applications to polydisperse sedimenting beds and
40  colliding particle jets"
41  P O'Rourke and D Snider
42  Chemical Engineering Science
43  Volume 65, Issue 22, Pages 6014-6028, November 2010
44  \endverbatim
45 
46 SourceFiles
47  nonEquilibrium.C
48 
49 \*---------------------------------------------------------------------------*/
50 
51 #ifndef nonEquilibrium_H
52 #define nonEquilibrium_H
53 
54 #include "TimeScaleModel.H"
55 
56 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57 
58 namespace Foam
59 {
60 namespace TimeScaleModels
61 {
62 
63 /*---------------------------------------------------------------------------*\
64  Class nonEquilibrium Declaration
65 \*---------------------------------------------------------------------------*/
66 
67 class nonEquilibrium
68 :
69  public TimeScaleModel
70 {
71 public:
72 
73  //- Runtime type information
74  TypeName("nonEquilibrium");
75 
76 
77  //- Constructors
78 
79  //- Construct from components
81 
82  //- Construct a copy
83  nonEquilibrium(const nonEquilibrium& hc);
84 
85  //- Construct and return a clone
86  virtual autoPtr<TimeScaleModel> clone() const
87  {
89  (
90  new nonEquilibrium(*this)
91  );
92  }
93 
94 
95  //- Destructor
96  virtual ~nonEquilibrium();
97 
98 
99  //- Member Functions
100 
101  //- Time scale
103  (
105  const FieldField<Field, scalar>& r32,
106  const FieldField<Field, scalar>& uSqr,
108  ) const;
109 };
110 
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 } // End namespace TimeScaleModels
115 } // End namespace Foam
116 
117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118 
119 #endif
120 
121 // ************************************************************************* //
Foam::TimeScaleModels::nonEquilibrium::~nonEquilibrium
virtual ~nonEquilibrium()
Destructor.
Definition: nonEquilibrium.C:71
Foam::FieldField
A field of fields is a PtrList of fields with reference counting.
Definition: FieldField.H:53
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::constant::atomic::alpha
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Definition: readThermalProperties.H:212
TimeScaleModel.H
Foam::TimeScaleModels::nonEquilibrium::oneByTau
tmp< FieldField< Field, scalar > > oneByTau(const FieldField< Field, scalar > &alpha, const FieldField< Field, scalar > &r32, const FieldField< Field, scalar > &uSqr, const FieldField< Field, scalar > &f) const
Member Functions.
Definition: nonEquilibrium.C:79
Foam::TimeScaleModels::nonEquilibrium::nonEquilibrium
nonEquilibrium(const dictionary &dict)
Constructors.
Definition: nonEquilibrium.C:52
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: HashPtrTable.H:53
Foam::TimeScaleModel
Base class for time scale models.
Definition: TimeScaleModel.H:57
f
labelList f(nPoints)
Foam::TimeScaleModels::nonEquilibrium::clone
virtual autoPtr< TimeScaleModel > clone() const
Construct and return a clone.
Definition: nonEquilibrium.H:85
Foam::TimeScaleModels::nonEquilibrium::TypeName
TypeName("nonEquilibrium")
Runtime type information.
Foam::TimeScaleModels::nonEquilibrium
Non-Equlibrium model for the time scale over which properties of a dispersed phase tend towards the m...
Definition: nonEquilibrium.H:66