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-2023 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  const dimensionedScalar Cf_;
70 
71 
72  // Private Member Functions
73 
74  //- Calculate and return the bubble departure frequency
75  template<class ScalarFieldType>
76  tmp<ScalarFieldType> calculate
77  (
78  const fvMesh& mesh,
79  const ScalarFieldType& dDep,
80  const ScalarFieldType& rhoLiquid,
81  const ScalarFieldType& rhoVapour,
82  const ScalarFieldType& sigma
83  ) const;
84 
85 
86 public:
87 
88  //- Runtime type information
89  TypeName("KocamustafaogullariIshii");
90 
91 
92  // Constructors
93 
94  //- Construct from a dictionary
96 
97  //- Copy construct
99  (
101  );
102 
103  //- Construct and return a clone
105  {
107  (
109  );
110  }
111 
112 
113  //- Destructor
115 
116 
117  // Member Functions
118 
119  //- Calculate and return the bubble departure frequency
121  (
122  const phaseModel& liquid,
123  const phaseModel& vapour,
124  const label patchi,
125  const scalarField& Tl,
126  const scalarField& Tsatw,
127  const scalarField& L,
128  const scalarField& dDep
129  ) const;
130 
131  //- Calculate and return the bubble departure frequency
133  (
134  const phaseModel& liquid,
135  const phaseModel& vapour,
136  const phaseModel& solid,
137  const volScalarField& Tf,
138  const volScalarField& Tsatw,
139  const volScalarField& L,
140  const volScalarField& dDep
141  ) const;
142 
143  //- Write to stream
144  virtual void write(Ostream& os) const;
145 };
146 
147 
148 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
149 
150 } // End namespace departureFrequencyModels
151 } // End namespace wallBoilingModels
152 } // End namespace Foam
153 
154 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
155 
156 #endif
157 
158 // ************************************************************************* //
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:57
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: autoPtr.H:51
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:160
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:101
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:53
A class for managing temporary objects.
Definition: tmp.H:55
Base class for bubble departure frequency models.
virtual tmp< scalarField > fDeparture(const phaseModel &liquid, const phaseModel &vapour, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L, const scalarField &dDep) const
Calculate and return the bubble departure frequency.
label patchi
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
Namespace for OpenFOAM.
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
dictionary dict