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 -------------------------------------------------------------------------------
10 License
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 
26 Class
27  Foam::wallBoilingModels::CHFModels::Zuber
28 
29 Description
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 
41 Usage
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 
61 SourceFiles
62  Zuber.C
63 
64 \*---------------------------------------------------------------------------*/
65 
66 #ifndef Zuber_H
67 #define Zuber_H
68 
69 #include "CHFModel.H"
70 
71 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
72 
73 namespace Foam
74 {
75 namespace wallBoilingModels
76 {
77 namespace CHFModels
78 {
79 
80 /*---------------------------------------------------------------------------*\
81  Class Zuber Declaration
82 \*---------------------------------------------------------------------------*/
83 
84 class 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;
101 
102 
103 public:
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
123  (
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
133 
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 // ************************************************************************* //
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
Foam::Field< scalar >
Foam::wallBoilingModels::CHFModels::Zuber::~Zuber
virtual ~Zuber()=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)
CHFModel.H
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::CHFModel
Base class for critical heat flux (CHF) correlation models for boiling flows.
Definition: CHFModel.H:57
Foam::wallBoilingModels::CHFModels::Zuber::TypeName
TypeName("Zuber")
Runtime type information.
Foam::wallBoilingModels::CHFModels::Zuber::CHF
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
Foam::wallBoilingModels::CHFModels::Zuber::write
virtual void write(Ostream &os) const
Write.
Definition: Zuber.C:106
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
Foam::wallBoilingModels::CHFModels::Zuber
A critical heat flux (CHF) correlation model based on Zuber (1958) for boiling flows.
Definition: Zuber.H:101