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-2020 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  //- User adjustable coefficient for nucleation density
68  scalar Cn_;
69 
70 
71 public:
72 
73  //- Runtime type information
74  TypeName("KocamustafaogullariIshii");
75 
76  // Constructors
77 
78  //- Construct from a dictionary
80 
81  //- Copy construct
83  (
85  );
86 
87  //- Construct and return a clone
88  virtual autoPtr<nucleationSiteModel> clone() const
89  {
91  (
93  );
94  }
95 
96 
97  //- Destructor
99 
100 
101  // Member Functions
102 
103  //- Calculate and return the nucleation-site density
104  virtual tmp<scalarField> N
105  (
106  const phaseModel& liquid,
107  const phaseModel& vapor,
108  const label patchi,
109  const scalarField& Tl,
110  const scalarField& Tsatw,
111  const scalarField& L,
112  const scalarField& dDep,
113  const scalarField& fDep
114  ) const;
115 
116  virtual void write(Ostream& os) const;
117 };
118 
119 
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 
122 } // End namespace nucleationSiteModels
123 } // End namespace wallBoilingModels
124 } // End namespace Foam
125 
126 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127 
128 #endif
129 
130 // ************************************************************************* //
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:50
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
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
KocamustafaogullariIshiiNucleationSite(const dictionary &dict)
Construct from a dictionary.
virtual tmp< scalarField > N(const phaseModel &liquid, const phaseModel &vapor, 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.
Base class for nucleation site density models.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:54
label patchi
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
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.