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 | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2011-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::ReitzDiwakar
28 
29 Group
30  grpLagrangianIntermediateBreakupSubModels
31 
32 Description
33  secondary breakup model
34 
35  \verbatim
36  Reitz, R.D.
37  "Modelling atomization processes in highpressure vaporizing sprays"
38  Atomization and Spray Technology 3 (1987), 309-337
39  \endverbatim
40 
41  \verbatim
42  Reitz, R.D. and Diwakar, R.
43  "Effect of drop breakup on fuel sprays"
44  SAE Tech. paper series, 860469 (1986)
45  \endverbatim
46 
47  \verbatim
48  Reitz, R.D. and Diwakar, R.
49  "Structure of high-pressure fuel sprays"
50  SAE Tech. paper series, 870598 (1987)
51  \endverbatim
52 
53 \*---------------------------------------------------------------------------*/
54 
55 #ifndef ReitzDiwakar_H
56 #define ReitzDiwakar_H
57 
58 #include "BreakupModel.H"
59 
60 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
61 
62 namespace Foam
63 {
64 
65 /*---------------------------------------------------------------------------*\
66  Class ReitzDiwakar Declaration
67 \*---------------------------------------------------------------------------*/
68 
69 template<class CloudType>
70 class ReitzDiwakar
71 :
72  public BreakupModel<CloudType>
73 {
74 private:
75 
76  // Private data
77 
78  scalar Cbag_;
79  scalar Cb_;
80  scalar Cstrip_;
81  scalar Cs_;
82 
83 
84 public:
85 
86  //- Runtime type information
87  TypeName("ReitzDiwakar");
88 
89 
90  // Constructors
91 
92  //- Construct from dictionary
94 
95  //- Construct copy
97 
98  //- Construct and return a clone
99  virtual autoPtr<BreakupModel<CloudType>> clone() const
100  {
102  (
103  new ReitzDiwakar<CloudType>(*this)
104  );
105  }
106 
107 
108  //- Destructor
109  virtual ~ReitzDiwakar();
110 
111 
112  // Member Functions
113 
114  //- Update the parcel properties
115  virtual bool update
116  (
117  const scalar dt,
118  const vector& g,
119  scalar& d,
120  scalar& tc,
121  scalar& ms,
122  scalar& nParticle,
123  scalar& KHindex,
124  scalar& y,
125  scalar& yDot,
126  const scalar d0,
127  const scalar rho,
128  const scalar mu,
129  const scalar sigma,
130  const vector& U,
131  const scalar rhoc,
132  const scalar muc,
133  const vector& Urel,
134  const scalar Urmag,
135  const scalar tMom,
136  scalar& dChild,
137  scalar& massChild
138  );
139 };
140 
141 
142 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
143 
144 } // End namespace Foam
145 
146 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
147 
148 #ifdef NoRepository
149  #include "ReitzDiwakar.C"
150 #endif
151 
152 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
153 
154 #endif
155 
156 // ************************************************************************* //
Foam::constant::physicoChemical::mu
const dimensionedScalar mu
Atomic mass unit.
Definition: createFieldRefs.H:4
Urel
Urel
Definition: pEqn.H:56
rho
rho
Definition: readInitialConditions.H:88
ReitzDiwakar.C
Foam::ReitzDiwakar::ReitzDiwakar
ReitzDiwakar(const dictionary &, CloudType &)
Construct from dictionary.
Definition: ReitzDiwakar.C:34
Foam::ReitzDiwakar::TypeName
TypeName("ReitzDiwakar")
Runtime type information.
Foam::ReitzDiwakar::update
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:77
Foam::ReitzDiwakar::clone
virtual autoPtr< BreakupModel< CloudType > > clone() const
Construct and return a clone.
Definition: ReitzDiwakar.H:98
Foam::DSMCCloud
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:71
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam::ReitzDiwakar::~ReitzDiwakar
virtual ~ReitzDiwakar()
Destructor.
Definition: ReitzDiwakar.C:69
g
const uniformDimensionedVectorField & g
Definition: createFluidFields.H:26
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::BreakupModel
Templated break-up model class.
Definition: SprayCloud.H:50
Foam::ReitzDiwakar
secondary breakup model
Definition: ReitzDiwakar.H:69
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: HashPtrTable.H:53
U
U
Definition: pEqn.H:72
BreakupModel.H
Foam::Vector< scalar >
sigma
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
y
scalar y
Definition: LISASMDCalcMethod1.H:14