All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ReitzKHRT.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-2020 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::ReitzKHRT
26 
27 Description
28  secondary breakup model which uses the Kelvin-Helmholtz
29  instability theory to predict the 'stripped' droplets... and
30  the Raleigh-Taylor instability as well.
31 
32 \*---------------------------------------------------------------------------*/
33 
34 #ifndef ReitzKHRT_H
35 #define ReitzKHRT_H
36 
37 #include "BreakupModel.H"
38 
39 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 
41 namespace Foam
42 {
43 /*---------------------------------------------------------------------------*\
44  Class ReitzKHRT Declaration
45 \*---------------------------------------------------------------------------*/
46 
47 template<class CloudType>
48 class ReitzKHRT
49 :
50  public BreakupModel<CloudType>
51 {
52  // Private Data
53 
54  // model constants
55  scalar b0_;
56  scalar b1_;
57  scalar cTau_;
58  scalar cRT_;
59  scalar msLimit_;
60  scalar weberLimit_;
61 
62 
63 public:
64 
65  //- Runtime type information
66  TypeName("ReitzKHRT");
67 
68 
69  // Constructors
70 
71  //- Construct from dictionary
72  ReitzKHRT(const dictionary&, CloudType&);
73 
74  //- Construct copy
75  ReitzKHRT(const ReitzKHRT<CloudType>& bum);
76 
77  //- Construct and return a clone
78  virtual autoPtr<BreakupModel<CloudType>> clone() const
79  {
81  (
82  new ReitzKHRT<CloudType>(*this)
83  );
84  }
85 
86 
87  //- Destructor
88  virtual ~ReitzKHRT();
89 
90 
91  // Member Functions
92 
93  //- Update the parcel diameter
94  virtual bool update
95  (
96  const scalar dt,
97  const vector& g,
98  scalar& d,
99  scalar& tc,
100  scalar& ms,
101  scalar& nParticle,
102  scalar& KHindex,
103  scalar& y,
104  scalar& yDot,
105  const scalar d0,
106  const scalar rho,
107  const scalar mu,
108  const scalar sigma,
109  const vector& U,
110  const scalar rhoc,
111  const scalar muc,
112  const vector& Urel,
113  const scalar Urmag,
114  const scalar tMom,
115  scalar& dChild,
116  scalar& massChild
117  );
118 };
119 
120 
121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 
123 } // End namespace Foam
124 
125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
126 
127 #ifdef NoRepository
128  #include "ReitzKHRT.C"
129 #endif
130 
131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
132 
133 #endif
134 
135 // ************************************************************************* //
secondary breakup model which uses the Kelvin-Helmholtz instability theory to predict the &#39;stripped&#39; ...
Definition: ReitzKHRT.H:47
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
virtual bool update(const scalar dt, const vector &g, scalar &d, scalar &tc, scalar &ms, scalar &nParticle, scalar &KHindex, scalar &y, scalar &yDot, const scalar d0, const scalar rho, const scalar mu, const scalar sigma, const vector &U, const scalar rhoc, const scalar muc, const vector &Urel, const scalar Urmag, const scalar tMom, scalar &dChild, scalar &massChild)
Update the parcel diameter.
Definition: ReitzKHRT.C:81
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
scalar y
virtual autoPtr< BreakupModel< CloudType > > clone() const
Construct and return a clone.
Definition: ReitzKHRT.H:77
Urel
Definition: pEqn.H:60
TypeName("ReitzKHRT")
Runtime type information.
const dimensionedScalar mu
Atomic mass unit.
ReitzKHRT(const dictionary &, CloudType &)
Construct from dictionary.
Definition: ReitzKHRT.C:32
U
Definition: pEqn.H:72
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
Templated break-up model class.
Definition: SprayCloud.H:55
const dimensionedVector & g
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:75
virtual ~ReitzKHRT()
Destructor.
Definition: ReitzKHRT.C:73
Namespace for OpenFOAM.