All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ETAB.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-2019 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 Data
69 
70  // Model constants
71 
72  scalar k1_;
73  scalar k2_;
74  scalar WeTransition_;
75  scalar AWe_;
76 
77 
78 public:
79 
80  //- Runtime type information
81  TypeName("ETAB");
82 
83 
84  // Constructors
85 
86  //- Construct from dictionary
87  ETAB(const dictionary&, CloudType&);
88 
89  //- Construct copy
90  ETAB(const ETAB<CloudType>& bum);
91 
92  //- Construct and return a clone
93  virtual autoPtr<BreakupModel<CloudType>> clone() const
94  {
96  (
97  new ETAB<CloudType>(*this)
98  );
99  }
100 
101 
102  //- Destructor
103  virtual ~ETAB();
104 
105 
106  // Member Functions
107 
108  //- Update the parcel properties
109  virtual bool update
110  (
111  const scalar dt,
112  const vector& g,
113  scalar& d,
114  scalar& tc,
115  scalar& ms,
116  scalar& nParticle,
117  scalar& KHindex,
118  scalar& y,
119  scalar& yDot,
120  const scalar d0,
121  const scalar rho,
122  const scalar mu,
123  const scalar sigma,
124  const vector& U,
125  const scalar rhoc,
126  const scalar muc,
127  const vector& Urel,
128  const scalar Urmag,
129  const scalar tMom,
130  scalar& dChild,
131  scalar& massChild
132  );
133 };
134 
135 
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
137 
138 } // End namespace Foam
139 
140 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
141 
142 #ifdef NoRepository
143  #include "ETAB.C"
144 #endif
145 
146 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
147 
148 #endif
149 
150 // ************************************************************************* //
ETAB(const dictionary &, CloudType &)
Construct from dictionary.
Definition: ETAB.C:32
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:158
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
virtual ~ETAB()
Destructor.
Definition: ETAB.C:69
virtual autoPtr< BreakupModel< CloudType > > clone() const
Construct and return a clone.
Definition: ETAB.H:92
scalar y
TypeName("ETAB")
Runtime type information.
Urel
Definition: pEqn.H:56
The Enhanced TAB model.
Definition: ETAB.H:63
const dimensionedScalar mu
Atomic mass unit.
U
Definition: pEqn.H:72
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
const dimensionedVector & g
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:69
Namespace for OpenFOAM.