ReitzKHRT.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::ReitzKHRT
28
29Group
30 grpLagrangianIntermediateBreakupSubModels
31
32Description
33 Secondary breakup model which uses the Kelvin-Helmholtz
34 instability theory to predict the 'stripped' droplets... and
35 the Raleigh-Taylor instability as well.
36
37\*---------------------------------------------------------------------------*/
38
39#ifndef ReitzKHRT_H
40#define ReitzKHRT_H
41
42#include "BreakupModel.H"
43
44// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46namespace Foam
47{
48/*---------------------------------------------------------------------------*\
49 Class ReitzKHRT Declaration
50\*---------------------------------------------------------------------------*/
51
52template<class CloudType>
53class ReitzKHRT
54:
55 public BreakupModel<CloudType>
56{
57private:
58
59 // Private data
60
61 // model constants
62 scalar b0_;
63 scalar b1_;
64 scalar cTau_;
65 scalar cRT_;
66 scalar msLimit_;
67 scalar weberLimit_;
68
69
70public:
71
72 //- Runtime type information
73 TypeName("ReitzKHRT");
74
75
76 // Constructors
77
78 //- Construct from dictionary
80
81 //- Construct copy
83
84 //- Construct and return a clone
86 {
88 (
89 new ReitzKHRT<CloudType>(*this)
90 );
91 }
92
93
94 //- Destructor
95 virtual ~ReitzKHRT();
96
97
98 // Member Functions
99
100 //- Update the parcel diameter
101 virtual bool update
102 (
103 const scalar dt,
104 const vector& g,
105 scalar& d,
106 scalar& tc,
107 scalar& ms,
108 scalar& nParticle,
109 scalar& KHindex,
110 scalar& y,
111 scalar& yDot,
112 const scalar d0,
113 const scalar rho,
114 const scalar mu,
115 const scalar sigma,
116 const vector& U,
117 const scalar rhoc,
118 const scalar muc,
119 const vector& Urel,
120 const scalar Urmag,
121 const scalar tMom,
122 scalar& dChild,
123 scalar& massChild
124 );
125};
126
127
128// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
129
130} // End namespace Foam
131
132// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
133
134#ifdef NoRepository
135 #include "ReitzKHRT.C"
136#endif
137
138// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
139
140#endif
141
142// ************************************************************************* //
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 which uses the Kelvin-Helmholtz instability theory to predict the 'stripped' ...
Definition: ReitzKHRT.H:55
TypeName("ReitzKHRT")
Runtime type information.
virtual ~ReitzKHRT()
Destructor.
Definition: ReitzKHRT.C:75
virtual autoPtr< BreakupModel< CloudType > > clone() const
Construct and return a clone.
Definition: ReitzKHRT.H:84
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