BlobsSheetAtomization.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-2018 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::BlobsSheetAtomization
26 
27 Description
28  Primary Breakup Model for pressure swirl atomizers.
29 
30  Accurate description in
31  @verbatim
32  Z. Han, S. Parrish, P.V. Farrell, R.D. Reitz
33  "Modeling Atomization Processes Of Pressure Swirl Hollow-Cone Fuel Sprays"
34  Atomization and Sprays, vol. 7, pp. 663-684, 1997
35 
36  and
37 
38  L. Allocca, G. Bella, A. De Vita, L. Di Angelo
39  "Experimental Validation of a GDI Spray Model"
40  SAE Technical Paper Series, 2002-01-1137
41  @endverbatim
42 
43 
44 \*---------------------------------------------------------------------------*/
45 
46 #ifndef BlobsSheetAtomization_H
47 #define BlobsSheetAtomization_H
48 
49 #include "AtomizationModel.H"
50 
51 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52 
53 namespace Foam
54 {
55 /*---------------------------------------------------------------------------*\
56  Class BlobsSheetAtomization Declaration
57 \*---------------------------------------------------------------------------*/
58 
59 template<class CloudType>
61 :
62  public AtomizationModel<CloudType>
63 {
64 private:
65 
66  scalar B_;
67  scalar angle_;
68 
69 
70 public:
71 
72  //- Runtime type information
73  TypeName("blobsSheetAtomization");
74 
75 
76  // Constructors
77 
78  //- Construct from dictionary
80 
81  //- Construct copy
83 
84  //- Construct and return a clone
86  {
88  (
90  );
91  }
92 
93 
94  //- Destructor
95  virtual ~BlobsSheetAtomization();
96 
97 
98  // Member Functions
99 
100  //- Initial value of liquidCore
101  virtual scalar initLiquidCore() const;
102 
103  //- Flag to indicate if chi needs to be calculated
104  virtual bool calcChi() const;
105 
106  virtual void update
107  (
108  const scalar dt,
109  scalar& d,
110  scalar& liquidCore,
111  scalar& tc,
112  const scalar rho,
113  const scalar mu,
114  const scalar sigma,
115  const scalar volFlowRate,
116  const scalar rhoAv,
117  const scalar Urel,
118  const vector& pos,
119  const vector& injectionPos,
120  const scalar pAmbient,
121  const scalar chi,
122  Random& rndGen
123  ) const;
124 };
125 
126 
127 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 
129 } // End namespace Foam
130 
131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
132 
133 #ifdef NoRepository
134  #include "BlobsSheetAtomization.C"
135 #endif
136 
137 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
138 
139 #endif
140 
141 // ************************************************************************* //
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
TypeName("blobsSheetAtomization")
Runtime type information.
Templated atomization model class.
Definition: SprayCloud.H:47
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
const dictionary & dict() const
Return const access to the cloud dictionary.
Definition: subModelBase.C:110
Random rndGen(label(0))
BlobsSheetAtomization(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
dimensionedScalar pos(const dimensionedScalar &ds)
virtual ~BlobsSheetAtomization()
Destructor.
virtual scalar initLiquidCore() const
Initial value of liquidCore.
A cloud is a collection of lagrangian particles.
Definition: cloud.H:51
Urel
Definition: pEqn.H:56
Random number generator.
Definition: Random.H:57
const dimensionedScalar mu
Atomic mass unit.
Primary Breakup Model for pressure swirl atomizers.
virtual void update(const scalar dt, scalar &d, scalar &liquidCore, scalar &tc, const scalar rho, const scalar mu, const scalar sigma, const scalar volFlowRate, const scalar rhoAv, const scalar Urel, const vector &pos, const vector &injectionPos, const scalar pAmbient, const scalar chi, Random &rndGen) const
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
virtual autoPtr< AtomizationModel< CloudType > > clone() const
Construct and return a clone.
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:69
virtual bool calcChi() const
Flag to indicate if chi needs to be calculated.
Namespace for OpenFOAM.