BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / src / lagrangian / spray / submodels / BreakupModel / ReitzDiwakar / ReitzDiwakar.H
blob3e853f53a2df7dc21baa2195fb6be42ce96c29da
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
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.
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.
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/>.
24 Class
25     Foam::ReitzDiwakar
27 Description
28     secondary breakup model
30     @verbatim
31     Reitz, R.D.
32     "Modelling atomization processes in highpressure vaporizing sprays"
33     Atomization and Spray Technology 3 (1987), 309-337
34     @endverbatim
36     @verbatim
37     Reitz, R.D. and Diwakar, R.
38     "Effect of drop breakup on fuel sprays"
39     SAE Tech. paper series, 860469 (1986)
40     @endverbatim
42     @verbatim
43     Reitz, R.D. and Diwakar, R.
44     "Structure of high-pressure fuel sprays"
45     SAE Tech. paper series, 870598 (1987)
46     @endverbatim
48 \*---------------------------------------------------------------------------*/
50 #ifndef ReitzDiwakar_H
51 #define ReitzDiwakar_H
53 #include "BreakupModel.H"
55 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57 namespace Foam
59 /*---------------------------------------------------------------------------*\
60                        Class ReitzDiwakar Declaration
61 \*---------------------------------------------------------------------------*/
63 template<class CloudType>
64 class ReitzDiwakar
66     public BreakupModel<CloudType>
68 private:
70     // Private data
72         scalar Cbag_;
73         scalar Cb_;
74         scalar Cstrip_;
75         scalar Cs_;
78 public:
80     //- Runtime type information
81     TypeName("ReitzDiwakar");
84     // Constructors
86         //- Construct from dictionary
87         ReitzDiwakar(const dictionary&, CloudType&);
89         //- Construct copy
90         ReitzDiwakar(const ReitzDiwakar<CloudType>& bum);
92         //- Construct and return a clone
93         virtual autoPtr<BreakupModel<CloudType> > clone() const
94         {
95             return autoPtr<BreakupModel<CloudType> >
96             (
97                 new ReitzDiwakar<CloudType>(*this)
98             );
99         }
102     //- Destructor
103     virtual ~ReitzDiwakar();
106     // Member Functions
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             const scalar averageParcelMass,
131             scalar& dChild,
132             scalar& massChild,
133             cachedRandom& rndGen
134         ) const;
138 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
140 } // End namespace Foam
142 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
144 #ifdef NoRepository
145 #   include "ReitzDiwakar.C"
146 #endif
148 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
150 #endif
152 // ************************************************************************* //