Zuber.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) 2018-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::CHFModels::Zuber
28
29Description
30 A critical heat flux (CHF) correlation model
31 based on Zuber (1958) for boiling flows.
32
33 Reference:
34 \verbatim
35 Zuber, N. (1958).
36 On the stability of boiling heat transfer.
37 Trans. Am. Soc. Mech. Engrs., 80.
38 URL:https://www.osti.gov/biblio/4326542
39 \endverbatim
40
41Usage
42 Example of the model specification:
43 \verbatim
44 CHFModel
45 {
46 // Mandatory entries
47 type Zuber;
48
49 // Optional entries
50 Cn <scalar>;
51 }
52 \endverbatim
53
54 where the entries mean:
55 \table
56 Property | Description | Type | Reqd | Deflt
57 type | Type name: Zuber | word | yes | -
58 Cn | Model coefficient | scalar | no | 0.131
59 \endtable
60
61SourceFiles
62 Zuber.C
63
64\*---------------------------------------------------------------------------*/
65
66#ifndef Zuber_H
67#define Zuber_H
68
69#include "CHFModel.H"
70
71// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
72
73namespace Foam
74{
75namespace wallBoilingModels
76{
77namespace CHFModels
78{
79
80/*---------------------------------------------------------------------------*\
81 Class Zuber Declaration
82\*---------------------------------------------------------------------------*/
83
84class Zuber
85:
86 public CHFModel
87{
88 // Private Data
89
90 //- Model coefficient
91 scalar Cn_;
92
93
94 // Private Member Functions
95
96 //- No copy construct
97 Zuber(const Zuber&) = delete;
98
99 //- No copy assignment
100 void operator=(const Zuber&) = delete;
102
103public:
104
105 //- Runtime type information
106 TypeName("Zuber");
107
108
109 // Constructors
110
111 //- Construct from a dictionary
112 Zuber(const dictionary& dict);
113
114
115 //- Destructor
116 virtual ~Zuber() = default;
117
118
119 // Member Functions
120
121 //- Calculate and return the nucleation-site density
122 virtual tmp<scalarField> CHF
124 const phaseModel& liquid,
125 const phaseModel& vapor,
126 const label patchi,
127 const scalarField& Tl,
128 const scalarField& Tsatw,
129 const scalarField& L
130 ) const;
131
132 // I-O
134 // Write
135 virtual void write(Ostream& os) const;
136};
137
138
139// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
140
141} // End namespace CHFModels
142} // End namespace wallBoilingModels
143} // End namespace Foam
144
145// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
146
147#endif
148
149// ************************************************************************* //
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 critical heat flux (CHF) correlation models for boiling flows.
Definition: CHFModel.H:58
A critical heat flux (CHF) correlation model based on Zuber (1958) for boiling flows.
Definition: Zuber.H:104
virtual tmp< scalarField > CHF(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: Zuber.C:70
TypeName("Zuber")
Runtime type information.
virtual ~Zuber()=default
Destructor.
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"))