KocamustafaogullariIshii.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-2018 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::KocamustafaogullariIshii
26 
27 Description
28  A correlation for bubble departure diameter.
29 
30  Requires model parameter 'phi': contact angle in degrees.
31 
32  Reference:
33  \verbatim
34  Kocamustafaogullari, G., & Ishii, M. (1983).
35  Interfacial area and nucleation site density in boiling systems.
36  International Journal of Heat and Mass Transfer, 26(9), 1377-1387.
37  \endverbatim
38 
39 SourceFiles
40  KocamustafaogullariIshii.C
41 
42 \*---------------------------------------------------------------------------*/
43 
44 #ifndef KocamustafaogullariIshii_H
45 #define KocamustafaogullariIshii_H
46 
47 #include "departureDiameterModel.H"
48 
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 
51 namespace Foam
52 {
53 namespace wallBoilingModels
54 {
55 namespace departureDiameterModels
56 {
57 
58 /*---------------------------------------------------------------------------*\
59  Class KocamustafaogullariIshii Declaration
60 \*---------------------------------------------------------------------------*/
61 
63 :
65 {
66  // Private data
67 
68  //- Contact angle
69  scalar phi_;
70 
71 
72 public:
73 
74  //- Runtime type information
75  TypeName("KocamustafaogullariIshii");
76 
77  // Constructors
78 
79  //- Construct from a dictionary
81 
82 
83  //- Destructor
84  virtual ~KocamustafaogullariIshii();
85 
86 
87  // Member Functions
88 
89  //- Calculate and return the departure diameter field
91  (
92  const phaseModel& liquid,
93  const phaseModel& vapor,
94  const label patchi,
95  const scalarField& Tl,
96  const scalarField& Tsatw,
97  const scalarField& L
98  ) const;
99 
100  virtual void write(Ostream& os) const;
101 };
102 
103 
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 
106 } // End namespace departureDiameterModels
107 } // End namespace wallBoilingModels
108 } // End namespace Foam
109 
110 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 
112 #endif
113 
114 // ************************************************************************* //
KocamustafaogullariIshii(const dictionary &dict)
Construct from a dictionary.
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.
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
Base class for bubble departure diameter models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
TypeName("KocamustafaogullariIshii")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:53
label patchi
A class for managing temporary objects.
Definition: PtrList.H:53
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:53
Namespace for OpenFOAM.