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-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::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  scalar B_;
65  scalar angle_;
66 
67 
68 public:
69 
70  //- Runtime type information
71  TypeName("blobsSheetAtomization");
72 
73 
74  // Constructors
75 
76  //- Construct from dictionary
78 
79  //- Construct copy
81 
82  //- Construct and return a clone
84  {
86  (
88  );
89  }
90 
91 
92  //- Destructor
93  virtual ~BlobsSheetAtomization();
94 
95 
96  // Member Functions
97 
98  //- Initial value of liquidCore
99  virtual scalar initLiquidCore() const;
100 
101  //- Flag to indicate if chi needs to be calculated
102  virtual bool calcChi() const;
103 
104  virtual void update
105  (
106  const scalar dt,
107  scalar& d,
108  scalar& liquidCore,
109  scalar& tc,
110  const scalar rho,
111  const scalar mu,
112  const scalar sigma,
113  const scalar volFlowRate,
114  const scalar rhoAv,
115  const scalar Urel,
116  const vector& pos,
117  const vector& injectionPos,
118  const scalar pAmbient,
119  const scalar chi,
120  Random& rndGen
121  ) const;
122 };
123 
124 
125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
126 
127 } // End namespace Foam
128 
129 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
130 
131 #ifdef NoRepository
132  #include "BlobsSheetAtomization.C"
133 #endif
134 
135 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
136 
137 #endif
138 
139 // ************************************************************************* //
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:158
TypeName("blobsSheetAtomization")
Runtime type information.
const dimensionedScalar & sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
Templated atomization model class.
Definition: SprayCloud.H:47
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
Primary Breakup Model for pressure swirl atomizers.
const dimensionedScalar & mu
Atomic mass unit.
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.