LISAAtomization.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 | Copyright (C) 2011-2015 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::LISAAtomization
26 
27 Description
28  Primary Breakup Model for pressure swirl atomizers.
29 
30  Accurate description in
31  @verbatim
32  P.K. Senecal, D.P. Schmidt, I. Nouar, C.J. Rutland, R.D. Reitz, M. Corradini
33  "Modeling high-speed viscous liquid sheet atomization"
34  International Journal of Multiphase Flow 25 (1999) pags. 1073-1097
35  @endverbatim
36 
37  and
38 
39  @verbatim
40  D.P. Schmidt, I. Nouar, P.K. Senecal, C.J. Rutland, J.K. Martin, R.D. Reitz
41  "Pressure-Swirl Atomization in the Near Field"
42  SAE Techical Paper Series 1999-01-0496
43  @endverbatim
44 
45 \*---------------------------------------------------------------------------*/
46 
47 #ifndef LISAAtomization_H
48 #define LISAAtomization_H
49 
50 #include "AtomizationModel.H"
51 
52 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53 
54 namespace Foam
55 {
56 /*---------------------------------------------------------------------------*\
57  Class LISAAtomization Declaration
58 \*---------------------------------------------------------------------------*/
59 
60 template<class CloudType>
61 class LISAAtomization
62 :
63  public AtomizationModel<CloudType>
64 {
65 
66 public:
67 
68  //- Enumeration for SMD calculations
69  enum SMDMethods
70  {
72  method2
73  };
74 
75 
76 private:
77 
78  // Private data
79 
80  scalar Cl_;
81  scalar cTau_;
82  scalar Q_;
83  scalar lisaExp_;
86 
88 
89 
90 public:
91 
92  //- Runtime type information
93  TypeName("LISA");
94 
95 
96  // Constructors
97 
98  //- Construct from dictionary
100 
101  //- Construct copy
103 
104  //- Construct and return a clone
106  {
108  (
109  new LISAAtomization<CloudType>(*this)
110  );
111  }
112 
113 
114  //- Destructor
115  virtual ~LISAAtomization();
116 
117 
118  // Member Functions
119 
120  //- Initial value of liquidCore
121  virtual scalar initLiquidCore() const;
122 
123  //- Flag to indicate if chi needs to be calculated
124  virtual bool calcChi() const;
125 
126  virtual void update
127  (
128  const scalar dt,
129  scalar& d,
130  scalar& liquidCore,
131  scalar& tc,
132  const scalar rho,
133  const scalar mu,
134  const scalar sigma,
135  const scalar volFlowRate,
136  const scalar rhoAv,
137  const scalar Urel,
138  const vector& pos,
139  const vector& injectionPos,
140  const scalar pAmbient,
141  const scalar chi,
143  ) const;
144 };
145 
146 
147 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
148 
149 } // End namespace Foam
150 
151 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
152 
153 #ifdef NoRepository
154 # include "LISAAtomization.C"
155 #endif
156 
157 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
158 
159 #endif
160 
161 // ************************************************************************* //
Foam::LISAAtomization::clone
virtual autoPtr< AtomizationModel< CloudType > > clone() const
Construct and return a clone.
Definition: LISAAtomization.H:104
Foam::LISAAtomization::calcChi
virtual bool calcChi() const
Flag to indicate if chi needs to be calculated.
Definition: LISAAtomization.C:98
Foam::word
A class for handling words, derived from string.
Definition: word.H:59
Foam::constant::physicoChemical::mu
const dimensionedScalar mu
Atomic mass unit.
Definition: createFields.H:13
Foam::AtomizationModel
Templated atomization model class.
Definition: SprayCloud.H:47
Foam::LISAAtomization::cTau_
scalar cTau_
Definition: LISAAtomization.H:80
Foam::LISAAtomization::Q_
scalar Q_
Definition: LISAAtomization.H:81
Foam::LISAAtomization::injectorDirection_
vector injectorDirection_
Definition: LISAAtomization.H:83
Foam::LISAAtomization::lisaExp_
scalar lisaExp_
Definition: LISAAtomization.H:82
Foam::cachedRandom
Random number generator.
Definition: cachedRandom.H:63
AtomizationModel.H
Foam::DSMCCloud
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:68
Urel
Urel
Definition: pEqn.H:45
Foam::dictionary
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:137
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::LISAAtomization::TypeName
TypeName("LISA")
Runtime type information.
Foam::LISAAtomization::LISAAtomization
LISAAtomization(const dictionary &, CloudType &)
Construct from dictionary.
Definition: LISAAtomization.C:32
rho
rho
Definition: pEqn.H:3
Foam::LISAAtomization::method1
@ method1
Definition: LISAAtomization.H:70
LISAAtomization.C
Foam::autoPtr
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:117
Foam::LISAAtomization
Primary Breakup Model for pressure swirl atomizers.
Definition: LISAAtomization.H:60
Foam::LISAAtomization::SMDMethods
SMDMethods
Enumeration for SMD calculations.
Definition: LISAAtomization.H:68
Foam::Vector< scalar >
Foam::LISAAtomization::SMDCalcMethod_
word SMDCalcMethod_
Definition: LISAAtomization.H:84
Foam::LISAAtomization::initLiquidCore
virtual scalar initLiquidCore() const
Initial value of liquidCore.
Definition: LISAAtomization.C:91
Foam::constant::physicoChemical::sigma
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
Foam::LISAAtomization::Cl_
scalar Cl_
Definition: LISAAtomization.H:79
Foam::LISAAtomization::method2
@ method2
Definition: LISAAtomization.H:71
Foam::LISAAtomization::SMDMethod_
SMDMethods SMDMethod_
Definition: LISAAtomization.H:86
rndGen
cachedRandom rndGen(label(0), -1)
Foam::LISAAtomization::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, cachedRandom &rndGen) const
Definition: LISAAtomization.C:106
Foam::LISAAtomization::~LISAAtomization
virtual ~LISAAtomization()
Destructor.
Definition: LISAAtomization.C:84
Foam::pos
dimensionedScalar pos(const dimensionedScalar &ds)
Definition: dimensionedScalar.C:190