ReitzDiwakar.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-2019 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::ReitzDiwakar
26 
27 Description
28  secondary breakup model
29 
30  @verbatim
31  Reitz, R.D.
32  "Modelling atomization processes in highpressure vaporizing sprays"
33  Atomization and Spray Technology 3 (1987), 309-337
34  @endverbatim
35 
36  @verbatim
37  Reitz, R.D. and Diwakar, R.
38  "Effect of drop breakup on fuel sprays"
39  SAE Tech. paper series, 860469 (1986)
40  @endverbatim
41 
42  @verbatim
43  Reitz, R.D. and Diwakar, R.
44  "Structure of high-pressure fuel sprays"
45  SAE Tech. paper series, 870598 (1987)
46  @endverbatim
47 
48 \*---------------------------------------------------------------------------*/
49 
50 #ifndef ReitzDiwakar_H
51 #define ReitzDiwakar_H
52 
53 #include "BreakupModel.H"
54 
55 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
56 
57 namespace Foam
58 {
59 /*---------------------------------------------------------------------------*\
60  Class ReitzDiwakar Declaration
61 \*---------------------------------------------------------------------------*/
62 
63 template<class CloudType>
64 class ReitzDiwakar
65 :
66  public BreakupModel<CloudType>
67 {
68  // Private Data
69 
70  scalar Cbag_;
71  scalar Cb_;
72  scalar Cstrip_;
73  scalar Cs_;
74 
75 
76 public:
77 
78  //- Runtime type information
79  TypeName("ReitzDiwakar");
80 
81 
82  // Constructors
83 
84  //- Construct from dictionary
86 
87  //- Construct copy
89 
90  //- Construct and return a clone
91  virtual autoPtr<BreakupModel<CloudType>> clone() const
92  {
94  (
95  new ReitzDiwakar<CloudType>(*this)
96  );
97  }
98 
99 
100  //- Destructor
101  virtual ~ReitzDiwakar();
102 
103 
104  // Member Functions
105 
106  //- Update the parcel properties
107  virtual bool update
108  (
109  const scalar dt,
110  const vector& g,
111  scalar& d,
112  scalar& tc,
113  scalar& ms,
114  scalar& nParticle,
115  scalar& KHindex,
116  scalar& y,
117  scalar& yDot,
118  const scalar d0,
119  const scalar rho,
120  const scalar mu,
121  const scalar sigma,
122  const vector& U,
123  const scalar rhoc,
124  const scalar muc,
125  const vector& Urel,
126  const scalar Urmag,
127  const scalar tMom,
128  scalar& dChild,
129  scalar& massChild
130  );
131 };
132 
133 
134 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
135 
136 } // End namespace Foam
137 
138 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
139 
140 #ifdef NoRepository
141  #include "ReitzDiwakar.C"
142 #endif
143 
144 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
145 
146 #endif
147 
148 // ************************************************************************* //
virtual ~ReitzDiwakar()
Destructor.
Definition: ReitzDiwakar.C:67
TypeName("ReitzDiwakar")
Runtime type information.
virtual autoPtr< BreakupModel< CloudType > > clone() const
Construct and return a clone.
Definition: ReitzDiwakar.H:90
ReitzDiwakar(const dictionary &, CloudType &)
Construct from dictionary.
Definition: ReitzDiwakar.C:32
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:158
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
scalar y
secondary breakup model
Definition: ReitzDiwakar.H:63
Urel
Definition: pEqn.H:56
const dimensionedScalar mu
Atomic mass unit.
U
Definition: pEqn.H:72
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 properties.
Definition: ReitzDiwakar.C:75
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:50
const dimensionedVector & g
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:69
Namespace for OpenFOAM.