KocamustafaogullariIshii.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) 2016-2018 OpenFOAM Foundation
9  Copyright (C) 2021 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 Class
28  Foam::wallBoilingModels::departureDiameterModels::KocamustafaogullariIshii
29 
30 Description
31  A correlation for bubble departure diameter modelling
32  based on Kocamustafaogullari-Ishii (1983) for boiling flows.
33 
34  Reference:
35  \verbatim
36  Kocamustafaogullari, G., & Ishii, M. (1983).
37  Interfacial area and nucleation site density in boiling systems.
38  International Journal of Heat and Mass Transfer, 26(9), 1377-1387.
39  DOI:10.1016/S0017-9310(83)80069-6
40  \endverbatim
41 
42 Usage
43  Example of the model specification:
44  \verbatim
45  departureDiameterModel
46  {
47  // Mandatory entries
48  type KocamustafaogullariIshii;
49  phi <scalar>;
50  }
51  \endverbatim
52 
53  where the entries mean:
54  \table
55  Property | Description | Type | Reqd | Deflt
56  type | Type name: KocamustafaogullariIshii | word | yes | -
57  phi | Contact angle [deg] | scalar | yes | -
58  \endtable
59 
60 SourceFiles
61  KocamustafaogullariIshii.C
62 
63 \*---------------------------------------------------------------------------*/
64 
65 #ifndef KocamustafaogullariIshii_H
66 #define KocamustafaogullariIshii_H
67 
68 #include "departureDiameterModel.H"
69 
70 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
71 
72 namespace Foam
73 {
74 namespace wallBoilingModels
75 {
76 namespace departureDiameterModels
77 {
78 
79 /*---------------------------------------------------------------------------*\
80  Class KocamustafaogullariIshii Declaration
81 \*---------------------------------------------------------------------------*/
82 
83 class KocamustafaogullariIshii
84 :
85  public departureDiameterModel
86 {
87  // Private Data
88 
89  //- Contact angle
90  scalar phi_;
91 
92 
93  // Private Member Functions
94 
95  //- No copy construct
96  KocamustafaogullariIshii(const KocamustafaogullariIshii&) = delete;
97 
98  //- No copy assignment
99  void operator=(const KocamustafaogullariIshii&) = delete;
100 
101 
102 public:
103 
104  //- Runtime type information
105  TypeName("KocamustafaogullariIshii");
106 
107  // Constructors
108 
109  //- Construct from a dictionary
111 
112 
113  //- Destructor
114  virtual ~KocamustafaogullariIshii() = default;
115 
116 
117  // Member Functions
118 
119  //- Calculate and return the departure diameter field
121  (
122  const phaseModel& liquid,
123  const phaseModel& vapor,
124  const label patchi,
125  const scalarField& Tl,
126  const scalarField& Tsatw,
127  const scalarField& L
128  ) const;
129 
130  // I-O
131 
132  //- Write
133  virtual void write(Ostream& os) const;
134 };
135 
136 
137 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
138 
139 } // End namespace departureDiameterModels
140 } // End namespace wallBoilingModels
141 } // End namespace Foam
142 
143 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
144 
145 #endif
146 
147 // ************************************************************************* //
Foam::phaseModel
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:54
L
const vector L(dict.get< vector >("L"))
Foam::wallBoilingModels::departureDiameterModels::KocamustafaogullariIshii
A correlation for bubble departure diameter modelling based on Kocamustafaogullari-Ishii (1983) for b...
Definition: KocamustafaogullariIshii.H:100
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::liquid
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:54
departureDiameterModel.H
Foam::Field< scalar >
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam::wallBoilingModels::departureDiameterModels::KocamustafaogullariIshii::dDeparture
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.
Definition: KocamustafaogullariIshii.C:75
os
OBJstream os(runTime.globalPath()/outputName)
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::departureDiameterModels::KocamustafaogullariIshii::TypeName
TypeName("KocamustafaogullariIshii")
Runtime type information.
Foam::wallBoilingModels::departureDiameterModel
Base class for bubble departure diameter models for boiling flows.
Definition: departureDiameterModel.H:57
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
Foam::wallBoilingModels::departureDiameterModels::KocamustafaogullariIshii::~KocamustafaogullariIshii
virtual ~KocamustafaogullariIshii()=default
Destructor.
Foam::wallBoilingModels::departureDiameterModels::KocamustafaogullariIshii::write
virtual void write(Ostream &os) const
Write.
Definition: KocamustafaogullariIshii.C:106