KocamustafaogullariIshiiNucleationSite.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::nucleationSiteModels::
26  KocamustafaogullariIshiiNucleationSite
27 
28 Description
29  A correlation for nucleation site density.
30 
31  Reference:
32  \verbatim
33  Kocamustafaogullari, G., & Ishii, M. (1983).
34  Interfacial area and nucleation site density in boiling systems.
35  International Journal of Heat and Mass Transfer, 26(9), 1377-1387.
36  \endverbatim
37 
38 SourceFiles
39  KocamustafaogullariIshiiNucleationSite.C
40 
41 \*---------------------------------------------------------------------------*/
42 
43 #ifndef KocamustafaogullariIshiiNucleationSite_H
44 #define KocamustafaogullariIshiiNucleationSite_H
45 
46 #include "nucleationSiteModel.H"
47 
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 
50 namespace Foam
51 {
52 namespace wallBoilingModels
53 {
54 namespace nucleationSiteModels
55 {
56 
57 /*---------------------------------------------------------------------------*\
58  Class KocamustafaogullariIshiiNucleationSite Declaration
59 \*---------------------------------------------------------------------------*/
60 
62 :
63  public nucleationSiteModel
64 {
65  // Private data:
66 
67  //- Nucleation density coefficient
68  const dimensionedScalar Cn_;
69 
70 
71  // Private Member Functions
72 
73  //- Calculate and return the nucleation site density
74  template<class ScalarFieldType>
75  tmp<ScalarFieldType> calculate
76  (
77  const ScalarFieldType& Tsatw,
78  const ScalarFieldType& L,
79  const ScalarFieldType& dDep,
80  const ScalarFieldType& Tw,
81  const ScalarFieldType& rhoLiquid,
82  const ScalarFieldType& rhoVapour,
83  const ScalarFieldType& sigma
84  ) const;
85 
86 
87 public:
88 
89  //- Runtime type information
90  TypeName("KocamustafaogullariIshii");
91 
92  // Constructors
93 
94  //- Construct from a dictionary
96 
97  //- Copy construct
99  (
101  );
102 
103  //- Construct and return a clone
104  virtual autoPtr<nucleationSiteModel> clone() const
105  {
107  (
109  );
110  }
111 
112 
113  //- Destructor
115 
116 
117  // Member Functions
118 
119  //- Calculate and return the nucleation-site density
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 scalarField& fDep
130  ) const;
131 
132  //- Calculate and return the nucleation-site density
134  (
135  const phaseModel& liquid,
136  const phaseModel& vapour,
137  const phaseModel& solid,
138  const volScalarField& Tf,
139  const volScalarField& Tsatw,
140  const volScalarField& L,
141  const volScalarField& dDep,
142  const volScalarField& fDep
143  ) const;
144 
145  //- Write to stream
146  virtual void write(Ostream& os) const;
147 };
148 
149 
150 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
151 
152 } // End namespace nucleationSiteModels
153 } // End namespace wallBoilingModels
154 } // End namespace Foam
155 
156 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
157 
158 #endif
159 
160 // ************************************************************************* //
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
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 nucleation site density models.
virtual tmp< scalarField > nucleationSiteDensity(const phaseModel &liquid, const phaseModel &vapour, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L, const scalarField &dDep, const scalarField &fDep) const
Calculate and return the nucleation-site density.
virtual autoPtr< nucleationSiteModel > clone() const
Construct and return a clone.
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