Kutadeladze.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) 2021 OpenCFD Ltd
9-------------------------------------------------------------------------------
10License
11 This file is part of OpenFOAM.
12
13 OpenFOAM is free software: you can redistribute it and/or modify it
14 under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26Class
27 Foam::wallBoilingModels::nucleateFluxModels::Kutadeladze
28
29Description
30 Nucleate flux sub-cooling correlation
31
32 References:
33 \verbatim
34 Wang, L., Li, Y., Zhang, F., Xie, F., & Ma, Y. (2016).
35 Correlations for calculating heat transfer of hydrogen pool boiling.
36 International Journal of Hydrogen Energy, 41(38), 17118-17131.
37 \endverbatim
38
39Usage
40 Example of the model specification:
41 \verbatim
42 nucleateFluxModel
43 {
44 // Mandatory entries
45 type Kutadeladze;
46
47 // Optional entries
48 Cn <scalar>;
49 an <scalar>;
50 bn <scalar>;
51 n <scalar>;
52 }
53 \endverbatim
54
55 where the entries mean:
56 \table
57 Property | Description | Type | Reqd | Deflt
58 type | Type name: Kutadeladze | word | yes | -
59 Cn | Model coefficient | scalar | no | 5.66e-10
60 an | Coefficient for deltaT sub-cooling | scalar | no | 2.5
61 bn | Exponent for n | scalar | no | 1
62 n | Nucleating boiling paramemeter | scalar | no | 1
63 \endtable
64
65SourceFiles
66 Kutadeladze.C
67
68\*---------------------------------------------------------------------------*/
69
70#ifndef Kutadeladze_H
71#define Kutadeladze_H
72
73#include "nucleateFluxModel.H"
74
75// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
76
77namespace Foam
78{
79namespace wallBoilingModels
80{
81namespace nucleateFluxModels
82{
83
84/*---------------------------------------------------------------------------*\
85 Class Kutadeladze Declaration
86\*---------------------------------------------------------------------------*/
87
88class Kutadeladze
89:
90 public nucleateFluxModel
91{
92 // Private Data
93
94 //- Model coefficient
95 scalar Cn_;
96
97 //- Coefficient for deltaT sub-cooling
98 scalar an_;
99
100 //- Exponent for n
101 scalar bn_;
102
103 //- Nucleating boiling paramemeter
104 scalar n_;
105
106
107 // Private Member Functions
108
109 //- No copy construct
110 Kutadeladze(const Kutadeladze&) = delete;
111
112 //- No copy assignment
113 void operator=(const Kutadeladze&) = delete;
114
115
116public:
117
118 //- Runtime type information
119 TypeName("Kutadeladze");
120
121
122 // Constructors
124 //- Construct from a dictionary
126
127
128 //- Destructor
129 virtual ~Kutadeladze() = default;
130
131
132 // Member Functions
133
134 //- Calculate and return the nucleation-site density
136 (
137 const phaseModel& liquid,
138 const phaseModel& vapor,
139 const label patchi,
140 const scalarField& Tl,
141 const scalarField& Tsatw,
142 const scalarField& L
143 ) const;
144
145 //- Write
146 virtual void write(Ostream& os) const;
147};
148
149
150// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
151
152} // End namespace nucleateFluxModels
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 nucleation flux models.
Nucleate flux sub-cooling correlation.
Definition: Kutadeladze.H:126
TypeName("Kutadeladze")
Runtime type information.
virtual tmp< scalarField > qNucleate(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L) const
Calculate and return the nucleation-site density.
Definition: Kutadeladze.C:72
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"))