TolubinskiKostanchuk.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) 2016-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::departureDiameterModels::TolubinskiKostanchuk
26 
27 Description
28  Tolubinski-Kostanchuk correlation for bubble departure diameter.
29 
30  Reference:
31  \verbatim
32  Tolubinsky, V. I., & Kostanchuk, D. M. (1970).
33  Vapour bubbles growth rate and heat transfer intensity at subcooled
34  water boiling.
35  In International Heat Transfer Conference 4 (Vol. 23). Begel House Inc.
36  \endverbatim
37 
38 SourceFiles
39  TolubinskiKostanchuk.C
40 
41 \*---------------------------------------------------------------------------*/
42 
43 #ifndef TolubinskiKostanchuk_H
44 #define TolubinskiKostanchuk_H
45 
46 #include "departureDiameterModel.H"
47 
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 
50 namespace Foam
51 {
52 namespace wallBoilingModels
53 {
54 namespace departureDiameterModels
55 {
56 
57 /*---------------------------------------------------------------------------*\
58  Class TolubinskiKostanchuk Declaration
59 \*---------------------------------------------------------------------------*/
60 
62 :
64 {
65 
66  // Private Data:
67 
68  //- Coefficient of the temperature term
69  scalar dRef_;
70 
71  //- Maximum diameter
72  scalar dMax_;
73 
74  //- Minimum diameter
75  scalar dMin_;
76 
77 public:
78 
79  //- Runtime type information
80  TypeName("TolubinskiKostanchuk");
81 
82 
83  // Constructors
84 
85  //- Construct from a dictionary
87 
88  //- Copy construct
90 
91  //- Construct and return a clone
93  {
95  (
96  new TolubinskiKostanchuk(*this)
97  );
98  }
99 
100 
101  //- Destructor
102  virtual ~TolubinskiKostanchuk();
103 
104 
105  // Member Functions
106 
107  //- Calculate and return the departure diameter field
109  (
110  const phaseModel& liquid,
111  const phaseModel& vapor,
112  const label patchi,
113  const scalarField& Tl,
114  const scalarField& Tsatw,
115  const scalarField& L
116  ) const;
117 
118  virtual void write(Ostream& os) const;
119 };
120 
121 
122 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123 
124 } // End namespace departureDiameterModels
125 } // End namespace wallBoilingModels
126 } // End namespace Foam
127 
128 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
129 
130 #endif
131 
132 // ************************************************************************* //
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:50
dictionary dict
Base class for bubble departure diameter models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
TypeName("TolubinskiKostanchuk")
Runtime type information.
TolubinskiKostanchuk(const dictionary &dict)
Construct from a dictionary.
Tolubinski-Kostanchuk correlation for bubble departure diameter.
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.
virtual autoPtr< departureDiameterModel > clone() const
Construct and return a clone.
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.