LISAAtomisation.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-2021 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::LISAAtomisation
26 
27 Description
28  Primary Breakup Model for pressure swirl atomisers.
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 atomisation"
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 Atomisation in the Near Field"
42  SAE Techical Paper Series 1999-01-0496
43  @endverbatim
44 
45 \*---------------------------------------------------------------------------*/
46 
47 #ifndef LISAAtomisation_H
48 #define LISAAtomisation_H
49 
50 #include "AtomisationModel.H"
51 
52 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53 
54 namespace Foam
55 {
56 /*---------------------------------------------------------------------------*\
57  Class LISAAtomisation Declaration
58 \*---------------------------------------------------------------------------*/
59 
60 template<class CloudType>
61 class LISAAtomisation
62 :
63  public AtomisationModel<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_;
84  vector injectorDirection_;
85  word SMDCalcMethod_;
86 
87  SMDMethods SMDMethod_;
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 LISAAtomisation<CloudType>(*this)
110  );
111  }
112 
113 
114  //- Destructor
115  virtual ~LISAAtomisation();
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,
142  Random& rndGen
143  ) const;
144 };
145 
146 
147 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
148 
149 } // End namespace Foam
150 
151 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
152 
153 #ifdef NoRepository
154  #include "LISAAtomisation.C"
155 #endif
156 
157 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
158 
159 #endif
160 
161 // ************************************************************************* //
SMDMethods
Enumeration for SMD calculations.
LISAAtomisation(const dictionary &, CloudType &)
Construct from dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
Templated atomisation model class.
Definition: SprayCloud.H:52
TypeName("LISA")
Runtime type information.
virtual bool calcChi() const
Flag to indicate if chi needs to be calculated.
Random rndGen(label(0))
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
virtual autoPtr< AtomisationModel< CloudType > > clone() const
Construct and return a clone.
dimensionedScalar pos(const dimensionedScalar &ds)
Primary Breakup Model for pressure swirl atomisers.
A class for handling words, derived from string.
Definition: word.H:59
virtual scalar initLiquidCore() const
Initial value of liquidCore.
Urel
Definition: pEqn.H:60
Random number generator.
Definition: Random.H:57
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 ~LISAAtomisation()
Destructor.
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:75
Namespace for OpenFOAM.