SHF.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-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::SHF
28
29Group
30 grpLagrangianIntermediateBreakupSubModels
31
32Description
33 Secondary Breakup Model to take account of the different breakup regimes,
34 bag, molutimode, shear....
35
36 Accurate description in
37 \verbatim
38 R. Schmehl, G. Maier, S. Witting
39 "CFD Analysis of Fuel Atomization, Secondary Droplet Breakup and Spray
40 Dispersion in the Premix Duct of a LPP Combustor".
41 Eight International Conference on Liquid Atomization and Spray Systems, 2000
42 \endverbatim
43
44\*---------------------------------------------------------------------------*/
45
46#ifndef SHF_H
47#define SHF_H
48
49#include "BreakupModel.H"
50
51// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52
53namespace Foam
54{
55
56/*---------------------------------------------------------------------------*\
57 Class SHF Declaration
58\*---------------------------------------------------------------------------*/
59
60template<class CloudType>
61class SHF
62:
63 public BreakupModel<CloudType>
64{
65private:
66
67 // Private data
68
69 // Model constants
70
71 scalar weCorrCoeff_;
72
73 scalar weBuCrit_;
74 scalar weBuBag_;
75 scalar weBuMM_;
76
77 scalar ohnCoeffCrit_;
78 scalar ohnCoeffBag_;
79 scalar ohnCoeffMM_;
80
81 scalar ohnExpCrit_;
82 scalar ohnExpBag_;
83 scalar ohnExpMM_;
84
85 scalar cInit_;
86
87 scalar c1_;
88 scalar c2_;
89 scalar c3_;
90
91 scalar cExp1_;
92 scalar cExp2_;
93 scalar cExp3_;
94
95 scalar weConst_;
96 scalar weCrit1_;
97 scalar weCrit2_;
98
99 scalar coeffD_;
100 scalar onExpD_;
101 scalar weExpD_;
102
103 scalar mu_;
104 scalar sigma_;
105
106 scalar d32Coeff_;
107 scalar cDmaxBM_;
108 scalar cDmaxS_;
109
110 scalar corePerc_;
111
112
113public:
114
115 //- Runtime type information
116 TypeName("SHF");
117
118
119 // Constructors
120
121 //- Construct from dictionary
122 SHF(const dictionary&, CloudType&);
123
124 //- Construct copy
125 SHF(const SHF<CloudType>& bum);
126
127 //- Construct and return a clone
129 {
131 (
132 new SHF<CloudType>(*this)
133 );
134 }
135
136
137 //- Destructor
138 virtual ~SHF();
139
140
141 // Member Functions
142
143 //- Update the parcel properties
144 virtual bool update
145 (
146 const scalar dt,
147 const vector& g,
148 scalar& d,
149 scalar& tc,
150 scalar& ms,
151 scalar& nParticle,
152 scalar& KHindex,
153 scalar& y,
154 scalar& yDot,
155 const scalar d0,
156 const scalar rho,
157 const scalar mu,
158 const scalar sigma,
159 const vector& U,
160 const scalar rhoc,
161 const scalar muc,
162 const vector& Urel,
163 const scalar Urmag,
164 const scalar tMom,
165 scalar& dChild,
166 scalar& massChild
167 );
168};
169
170
171// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
172
173} // End namespace Foam
174
175// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
176
177#ifdef NoRepository
178 #include "SHF.C"
179#endif
180
181// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
182
183#endif
184
185// ************************************************************************* //
scalar y
const uniformDimensionedVectorField & g
Templated break-up model class.
Definition: BreakupModel.H:61
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:75
Secondary Breakup Model to take account of the different breakup regimes, bag, molutimode,...
Definition: SHF.H:63
TypeName("SHF")
Runtime type information.
virtual autoPtr< BreakupModel< CloudType > > clone() const
Construct and return a clone.
Definition: SHF.H:127
virtual ~SHF()
Destructor.
Definition: SHF.C:111
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: autoPtr.H:66
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
U
Definition: pEqn.H:72
const volScalarField & mu
mesh update()
Urel
Definition: pEqn.H:56
Namespace for OpenFOAM.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73