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-------------------------------------------------------------------------------
11License
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
27Class
28 Foam::wallBoilingModels::departureDiameterModels::KocamustafaogullariIshii
29
30Description
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
42Usage
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
60SourceFiles
61 KocamustafaogullariIshii.C
62
63\*---------------------------------------------------------------------------*/
64
65#ifndef KocamustafaogullariIshii_H
66#define KocamustafaogullariIshii_H
67
69
70// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
71
72namespace Foam
73{
74namespace wallBoilingModels
75{
76namespace departureDiameterModels
77{
78
79/*---------------------------------------------------------------------------*\
80 Class KocamustafaogullariIshii Declaration
81\*---------------------------------------------------------------------------*/
82
83class 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;
101
102public:
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 (
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
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// ************************************************************************* //
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:62
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:57
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:61
A class for managing temporary objects.
Definition: tmp.H:65
Base class for bubble departure diameter models for boiling flows.
A correlation for bubble departure diameter modelling based on Kocamustafaogullari-Ishii (1983) for b...
TypeName("KocamustafaogullariIshii")
Runtime type information.
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.
OBJstream os(runTime.globalPath()/outputName)
Namespace for OpenFOAM.
runTime write()
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73
const vector L(dict.get< vector >("L"))