ReitzDiwakar.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-2016 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:
69 
70  // Private data
71 
72  scalar Cbag_;
73  scalar Cb_;
74  scalar Cstrip_;
75  scalar Cs_;
76 
77 
78 public:
79 
80  //- Runtime type information
81  TypeName("ReitzDiwakar");
82 
83 
84  // Constructors
85 
86  //- Construct from dictionary
88 
89  //- Construct copy
91 
92  //- Construct and return a clone
93  virtual autoPtr<BreakupModel<CloudType>> clone() const
94  {
96  (
97  new ReitzDiwakar<CloudType>(*this)
98  );
99  }
100 
101 
102  //- Destructor
103  virtual ~ReitzDiwakar();
104 
105 
106  // Member Functions
107 
108  //- Update the parcel properties
109  virtual bool update
110  (
111  const scalar dt,
112  const vector& g,
113  scalar& d,
114  scalar& tc,
115  scalar& ms,
116  scalar& nParticle,
117  scalar& KHindex,
118  scalar& y,
119  scalar& yDot,
120  const scalar d0,
121  const scalar rho,
122  const scalar mu,
123  const scalar sigma,
124  const vector& U,
125  const scalar rhoc,
126  const scalar muc,
127  const vector& Urel,
128  const scalar Urmag,
129  const scalar tMom,
130  scalar& dChild,
131  scalar& massChild
132  );
133 };
134 
135 
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
137 
138 } // End namespace Foam
139 
140 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
141 
142 #ifdef NoRepository
143  #include "ReitzDiwakar.C"
144 #endif
145 
146 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
147 
148 #endif
149 
150 // ************************************************************************* //
virtual ~ReitzDiwakar()
Destructor.
Definition: ReitzDiwakar.C:67
TypeName("ReitzDiwakar")
Runtime type information.
U
Definition: pEqn.H:83
virtual autoPtr< BreakupModel< CloudType > > clone() const
Construct and return a clone.
Definition: ReitzDiwakar.H:92
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:137
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
scalar y
secondary breakup model
Definition: ReitzDiwakar.H:63
Urel
Definition: pEqn.H:56
const dimensionedVector & g
const dimensionedScalar mu
Atomic mass unit.
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
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:69
Namespace for OpenFOAM.