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  Class ReitzDiwakar Declaration
66 \*---------------------------------------------------------------------------*/
67 
68 template<class CloudType>
69 class ReitzDiwakar
70 :
71  public BreakupModel<CloudType>
72 {
73 private:
74 
75  // Private data
76 
77  scalar Cbag_;
78  scalar Cb_;
79  scalar Cstrip_;
80  scalar Cs_;
81 
82 
83 public:
84 
85  //- Runtime type information
86  TypeName("ReitzDiwakar");
87 
88 
89  // Constructors
90 
91  //- Construct from dictionary
93 
94  //- Construct copy
96 
97  //- Construct and return a clone
98  virtual autoPtr<BreakupModel<CloudType>> clone() const
99  {
101  (
102  new ReitzDiwakar<CloudType>(*this)
103  );
104  }
105 
106 
107  //- Destructor
108  virtual ~ReitzDiwakar();
109 
110 
111  // Member Functions
112 
113  //- Update the parcel properties
114  virtual bool update
115  (
116  const scalar dt,
117  const vector& g,
118  scalar& d,
119  scalar& tc,
120  scalar& ms,
121  scalar& nParticle,
122  scalar& KHindex,
123  scalar& y,
124  scalar& yDot,
125  const scalar d0,
126  const scalar rho,
127  const scalar mu,
128  const scalar sigma,
129  const vector& U,
130  const scalar rhoc,
131  const scalar muc,
132  const vector& Urel,
133  const scalar Urmag,
134  const scalar tMom,
135  scalar& dChild,
136  scalar& massChild
137  );
138 };
139 
140 
141 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
142 
143 } // End namespace Foam
144 
145 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
146 
147 #ifdef NoRepository
148  #include "ReitzDiwakar.C"
149 #endif
150 
151 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
152 
153 #endif
154 
155 // ************************************************************************* //
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:96
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:97
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:121
Foam::ReitzDiwakar::~ReitzDiwakar
virtual ~ReitzDiwakar()
Destructor.
Definition: ReitzDiwakar.C:69
g
const uniformDimensionedVectorField & g
Definition: createFluidFields.H:24
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::BreakupModel
Templated break-up model class.
Definition: SprayCloud.H:49
Foam::ReitzDiwakar
secondary breakup model
Definition: ReitzDiwakar.H:68
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