TolubinskiKostanchuk.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 -------------------------------------------------------------------------------
11 License
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 
27 Class
28  Foam::wallBoilingModels::departureDiameterModels::TolubinskiKostanchuk
29 
30 Description
31  A correlation for bubble departure diameter modelling
32  based on Tolubinski-Kostanchuk (1970) for boiling flows.
33 
34  Reference:
35  \verbatim
36  Tolubinsky, V. I., & Kostanchuk, D. M. (1970).
37  Vapour bubbles growth rate and heat transfer
38  intensity at subcooled water boiling.
39  In International Heat Transfer Conference 4 (Vol. 23). Begel House Inc..
40  \endverbatim
41 
42 Usage
43  Example of the model specification:
44  \verbatim
45  departureDiameterModel
46  {
47  // Mandatory entries
48  type TolubinskiKostanchuk;
49 
50  // Optional entries
51  dRef <scalar>;
52  dMax <scalar>;
53  dMin <scalar>;
54  }
55  \endverbatim
56 
57  where the entries mean:
58  \table
59  Property | Description | Type | Reqd | Deflt
60  type | Type name: TolubinskiKostanchuk | word | yes | -
61  dRef | Coefficient of the temperature term | scalar | no | 6e-4
62  dMax | Maximum diameter | scalar | no | 0.0014
63  dMin | Minimum diameter | scalar | no | 1e-6
64  \endtable
65 
66 SourceFiles
67  TolubinskiKostanchuk.C
68 
69 \*---------------------------------------------------------------------------*/
70 
71 #ifndef TolubinskiKostanchuk_H
72 #define TolubinskiKostanchuk_H
73 
74 #include "departureDiameterModel.H"
75 
76 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
77 
78 namespace Foam
79 {
80 namespace wallBoilingModels
81 {
82 namespace departureDiameterModels
83 {
84 
85 /*---------------------------------------------------------------------------*\
86  Class TolubinskiKostanchuk Declaration
87 \*---------------------------------------------------------------------------*/
88 
89 class TolubinskiKostanchuk
90 :
91  public departureDiameterModel
92 {
93  // Private Data
94 
95  //- Coefficient of the temperature term
96  scalar dRef_;
97 
98  //- Maximum diameter
99  scalar dMax_;
100 
101  //- Minimum diameter
102  scalar dMin_;
103 
104 
105  // Private Member Functions
106 
107  //- No copy construct
108  TolubinskiKostanchuk(const TolubinskiKostanchuk&) = delete;
109 
110  //- No copy assignment
111  void operator=(const TolubinskiKostanchuk&) = delete;
112 
113 
114 public:
115 
116  //- Runtime type information
117  TypeName("TolubinskiKostanchuk");
118 
119 
120  // Constructors
121 
122  //- Construct from a dictionary
124 
125 
126  //- Destructor
127  virtual ~TolubinskiKostanchuk() = default;
128 
129 
130  // Member Functions
131 
132  //- Calculate and return the departure diameter field
134  (
135  const phaseModel& liquid,
136  const phaseModel& vapor,
137  const label patchi,
138  const scalarField& Tl,
139  const scalarField& Tsatw,
140  const scalarField& L
141  ) const;
142 
143  // I-O
144 
145  // Write
146  virtual void write(Ostream& os) const;
147 };
148 
149 
150 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
151 
152 } // End namespace departureDiameterModels
153 } // End namespace wallBoilingModels
154 } // End namespace Foam
155 
156 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
157 
158 #endif
159 
160 // ************************************************************************* //
Foam::wallBoilingModels::departureDiameterModels::TolubinskiKostanchuk::dDeparture
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.
Definition: TolubinskiKostanchuk.C:72
Foam::phaseModel
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:54
L
const vector L(dict.get< vector >("L"))
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::liquid
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:54
departureDiameterModel.H
Foam::wallBoilingModels::departureDiameterModels::TolubinskiKostanchuk::TypeName
TypeName("TolubinskiKostanchuk")
Runtime type information.
Foam::Field< scalar >
Foam::wallBoilingModels::departureDiameterModels::TolubinskiKostanchuk::~TolubinskiKostanchuk
virtual ~TolubinskiKostanchuk()=default
Destructor.
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
os
OBJstream os(runTime.globalPath()/outputName)
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::departureDiameterModels::TolubinskiKostanchuk::write
virtual void write(Ostream &os) const
Write.
Definition: TolubinskiKostanchuk.C:86
Foam::wallBoilingModels::departureDiameterModel
Base class for bubble departure diameter models for boiling flows.
Definition: departureDiameterModel.H:57
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
Foam::wallBoilingModels::departureDiameterModels::TolubinskiKostanchuk
A correlation for bubble departure diameter modelling based on Tolubinski-Kostanchuk (1970) for boili...
Definition: TolubinskiKostanchuk.H:118