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  \endverbatim
41 
42  and
43 
44  \verbatim
45  L. Allocca, G. Bella, A. De Vita, L. Di Angelo
46  "Experimental Validation of a GDI Spray Model"
47  SAE Technical Paper Series, 2002-01-1137
48  \endverbatim
49 
50 
51 \*---------------------------------------------------------------------------*/
52 
53 #ifndef BlobsSheetAtomization_H
54 #define BlobsSheetAtomization_H
55 
56 #include "AtomizationModel.H"
57 
58 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
59 
60 namespace Foam
61 {
62 
63 /*---------------------------------------------------------------------------*\
64  Class BlobsSheetAtomization Declaration
65 \*---------------------------------------------------------------------------*/
66 
67 template<class CloudType>
69 :
70  public AtomizationModel<CloudType>
71 {
72 private:
73 
74  scalar B_;
75  scalar angle_;
76 
77 
78 public:
79 
80  //- Runtime type information
81  TypeName("blobsSheetAtomization");
82 
83 
84  // Constructors
85 
86  //- Construct from dictionary
88 
89  //- Construct copy
91 
92  //- Construct and return a clone
94  {
96  (
98  );
99  }
100 
101 
102  //- Destructor
103  virtual ~BlobsSheetAtomization();
104 
105 
106  // Member Functions
107 
108  //- Initial value of liquidCore
109  virtual scalar initLiquidCore() const;
110 
111  //- Flag to indicate if chi needs to be calculated
112  virtual bool calcChi() const;
113 
114  virtual void update
115  (
116  const scalar dt,
117  scalar& d,
118  scalar& liquidCore,
119  scalar& tc,
120  const scalar rho,
121  const scalar mu,
122  const scalar sigma,
123  const scalar volFlowRate,
124  const scalar rhoAv,
125  const scalar Urel,
126  const vector& pos,
127  const vector& injectionPos,
128  const scalar pAmbient,
129  const scalar chi,
130  Random& rndGen
131  ) const;
132 };
133 
134 
135 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
136 
137 } // End namespace Foam
138 
139 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
140 
141 #ifdef NoRepository
142  #include "BlobsSheetAtomization.C"
143 #endif
144 
145 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
146 
147 #endif
148 
149 // ************************************************************************* //
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:49
BlobsSheetAtomization.C
Foam::BlobsSheetAtomization::TypeName
TypeName("blobsSheetAtomization")
Runtime type information.
rho
rho
Definition: readInitialConditions.H:88
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:123
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:92
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:67
Foam::pos
dimensionedScalar pos(const dimensionedScalar &ds)
Definition: dimensionedScalar.C:177