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-------------------------------------------------------------------------------
11License
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
27Class
28 Foam::wallBoilingModels::departureDiameterModels::TolubinskiKostanchuk
29
30Description
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
42Usage
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
66SourceFiles
67 TolubinskiKostanchuk.C
68
69\*---------------------------------------------------------------------------*/
70
71#ifndef TolubinskiKostanchuk_H
72#define TolubinskiKostanchuk_H
73
75
76// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
77
78namespace Foam
79{
80namespace wallBoilingModels
81{
82namespace departureDiameterModels
83{
84
85/*---------------------------------------------------------------------------*\
86 Class TolubinskiKostanchuk Declaration
87\*---------------------------------------------------------------------------*/
88
89class 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
114public:
115
116 //- Runtime type information
117 TypeName("TolubinskiKostanchuk");
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// ************************************************************************* //
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:62
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:57
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:61
A class for managing temporary objects.
Definition: tmp.H:65
Base class for bubble departure diameter models for boiling flows.
A correlation for bubble departure diameter modelling based on Tolubinski-Kostanchuk (1970) for boili...
TypeName("TolubinskiKostanchuk")
Runtime type information.
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.
OBJstream os(runTime.globalPath()/outputName)
Namespace for OpenFOAM.
runTime write()
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73
const vector L(dict.get< vector >("L"))