ETAB.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-2016 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::ETAB
26 
27 Description
28  The Enhanced TAB model.
29 
30  Described in the papers below.
31  @verbatim
32  F.X. Tanner
33  "Liquid Jet Atomization and Droplet Breakup Modeling of
34  Non-Evaporating Diesel Fuel Sprays"
35  SAE 970050,
36  SAE Transactions: Journal of Engines, Vol 106, Sec 3 pp 127-140
37 
38  F.X. Tanner and G. Weisser
39  "Simulation of Liquid Jet Atomization for
40  Fuel Sprays by Means of Cascade Drop Breakup Model"
41  SAE 980808
42  SAE Technical Paper Series
43  @endverbatim
44 
45 See also
46  The TAB model
47 
48 \*---------------------------------------------------------------------------*/
49 
50 #ifndef ETAB_H
51 #define ETAB_H
52 
53 #include "BreakupModel.H"
54 
55 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
56 
57 namespace Foam
58 {
59 /*---------------------------------------------------------------------------*\
60  Class ETAB Declaration
61 \*---------------------------------------------------------------------------*/
62 
63 template<class CloudType>
64 class ETAB
65 :
66  public BreakupModel<CloudType>
67 {
68 private:
69 
70  // Private data
71 
72  // Model constants
73 
74  scalar k1_;
75  scalar k2_;
76  scalar WeTransition_;
77  scalar AWe_;
78 
79 
80 public:
81 
82  //- Runtime type information
83  TypeName("ETAB");
84 
85 
86  // Constructors
87 
88  //- Construct from dictionary
89  ETAB(const dictionary&, CloudType&);
90 
91  //- Construct copy
92  ETAB(const ETAB<CloudType>& bum);
93 
94  //- Construct and return a clone
95  virtual autoPtr<BreakupModel<CloudType>> clone() const
96  {
98  (
99  new ETAB<CloudType>(*this)
100  );
101  }
102 
103 
104  //- Destructor
105  virtual ~ETAB();
106 
107 
108  // Member Functions
109 
110  //- Update the parcel properties
111  virtual bool update
112  (
113  const scalar dt,
114  const vector& g,
115  scalar& d,
116  scalar& tc,
117  scalar& ms,
118  scalar& nParticle,
119  scalar& KHindex,
120  scalar& y,
121  scalar& yDot,
122  const scalar d0,
123  const scalar rho,
124  const scalar mu,
125  const scalar sigma,
126  const vector& U,
127  const scalar rhoc,
128  const scalar muc,
129  const vector& Urel,
130  const scalar Urmag,
131  const scalar tMom,
132  scalar& dChild,
133  scalar& massChild
134  );
135 };
136 
137 
138 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
139 
140 } // End namespace Foam
141 
142 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
143 
144 #ifdef NoRepository
145  #include "ETAB.C"
146 #endif
147 
148 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
149 
150 #endif
151 
152 // ************************************************************************* //
ETAB(const dictionary &, CloudType &)
Construct from dictionary.
Definition: ETAB.C:32
U
Definition: pEqn.H:83
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
virtual ~ETAB()
Destructor.
Definition: ETAB.C:69
virtual autoPtr< BreakupModel< CloudType > > clone() const
Construct and return a clone.
Definition: ETAB.H:94
scalar y
TypeName("ETAB")
Runtime type information.
Urel
Definition: pEqn.H:56
const dimensionedVector & g
The Enhanced TAB model.
Definition: ETAB.H:63
const dimensionedScalar mu
Atomic mass unit.
virtual bool update(const scalar dt, const vector &g, scalar &d, scalar &tc, scalar &ms, scalar &nParticle, scalar &KHindex, scalar &y, scalar &yDot, const scalar d0, const scalar rho, const scalar mu, const scalar sigma, const vector &U, const scalar rhoc, const scalar muc, const vector &Urel, const scalar Urmag, const scalar tMom, scalar &dChild, scalar &massChild)
Update the parcel properties.
Definition: ETAB.C:77
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
Templated break-up model class.
Definition: SprayCloud.H:50
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:69
Namespace for OpenFOAM.