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