KocamustafaogullariIshiiDepartureDiameter.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) 2016-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::departureDiameterModels::
26  KocamustafaogullariIshiiDepartureDiameter
27 
28 Description
29  A correlation for bubble departure diameter.
30 
31  Requires model parameter 'phi': contact angle in degrees.
32 
33  Reference:
34  \verbatim
35  Kocamustafaogullari, G., & Ishii, M. (1983).
36  Interfacial area and nucleation site density in boiling systems.
37  International Journal of Heat and Mass Transfer, 26(9), 1377-1387.
38  \endverbatim
39 
40 SourceFiles
41  KocamustafaogullariIshiiDepartureDiameter.C
42 
43 \*---------------------------------------------------------------------------*/
44 
45 #ifndef KocamustafaogullariIshiiDepartureDiameter_H
46 #define KocamustafaogullariIshiiDepartureDiameter_H
47 
48 #include "departureDiameterModel.H"
49 
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 
52 namespace Foam
53 {
54 namespace wallBoilingModels
55 {
56 namespace departureDiameterModels
57 {
58 
59 /*---------------------------------------------------------------------------*\
60  Class KocamustafaogullariIshiiDepartureDiameter Declaration
61 \*---------------------------------------------------------------------------*/
62 
64 :
66 {
67  // Private Data
68 
69  //- Contact angle
70  scalar phi_;
71 
72 
73 public:
74 
75  //- Runtime type information
76  TypeName("KocamustafaogullariIshii");
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 departure diameter field
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;
115 
116  virtual void write(Ostream& os) const;
117 };
118 
119 
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 
122 } // End namespace departureDiameterModels
123 } // End namespace wallBoilingModels
124 } // End namespace Foam
125 
126 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127 
128 #endif
129 
130 // ************************************************************************* //
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:50
dictionary dict
Base class for bubble departure diameter models.
virtual tmp< scalarField > dDeparture(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L) const
Calculate and return the departure diameter field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
virtual autoPtr< departureDiameterModel > clone() const
Construct and return a clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:54
label patchi
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
KocamustafaogullariIshiiDepartureDiameter(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.