KocamustafaogullariIshiiDepartureFrequency.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) 2019-2020 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::wallBoilingModels::departureFrequencyModels::
26  KocamustafaogullariIshiiDepartureFrequency
27 
28 Description
29  Correlation for bubble departure frequency.
30 
31  Reference:
32  \verbatim
33  Kocamustafaogullari, G., & Ishii, M. (1995).
34  Foundation of the interfacial area transport equation and its closure
35  relations.
36  International Journal of Heat and Mass Transfer, 38(3), 481-493.
37  \endverbatim
38 
39 SourceFiles
40  KocamustafaogullariIshiiDepartureFrequency.C
41 
42 \*---------------------------------------------------------------------------*/
43 
44 #ifndef KocamustafaogullariIshiiDepartureFrequency_H
45 #define KocamustafaogullariIshiiDepartureFrequency_H
46 
48 
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 
51 namespace Foam
52 {
53 namespace wallBoilingModels
54 {
55 namespace departureFrequencyModels
56 {
57 
58 /*---------------------------------------------------------------------------*\
59  Class KocamustafaogullariIshiiDepartureFrequency Declaration
60 \*---------------------------------------------------------------------------*/
61 
63 :
65 {
66  // Private data
67 
68  //- Model parameter
69  scalar Cf_;
70 
71 
72 public:
73 
74  //- Runtime type information
75  TypeName("KocamustafaogullariIshii");
76 
77 
78  // Constructors
79 
80  //- Construct from a dictionary
82 
83  //- Copy construct
85  (
87  );
88 
89  //- Construct and return a clone
91  {
93  (
95  );
96  }
97 
98 
99  //- Destructor
101 
102 
103  // Member Functions
104 
105  //- Calculate and return the bubble departure frequency
107  (
108  const phaseModel& liquid,
109  const phaseModel& vapor,
110  const label patchi,
111  const scalarField& Tl,
112  const scalarField& Tsatw,
113  const scalarField& L,
114  const scalarField& dDep
115  ) const;
116 
117  virtual void write(Ostream& os) const;
118 };
119 
120 
121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 
123 } // End namespace departureFrequencyModels
124 } // End namespace wallBoilingModels
125 } // End namespace Foam
126 
127 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 
129 #endif
130 
131 // ************************************************************************* //
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:50
dictionary dict
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
Base class for bubble departure frequency models.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:54
label patchi
virtual autoPtr< departureFrequencyModel > clone() const
Construct and return a clone.
virtual tmp< scalarField > fDeparture(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L, const scalarField &dDep) const
Calculate and return the bubble departure frequency.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
A class for managing temporary objects.
Definition: PtrList.H:53
KocamustafaogullariIshiiDepartureFrequency(const dictionary &dict)
Construct from a dictionary.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:53
Namespace for OpenFOAM.