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 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  Critical heat flux (CHF) correlation
31 
32  References:
33  \verbatim
34  N. Zuber, On the stability of boiling heat transfer,
35  Trans. ASME 80 (1958) 711
36  \endverbatim
37 
38 SourceFiles
39  Zuber.C
40 
41 \*---------------------------------------------------------------------------*/
42 
43 #ifndef Zuber_H
44 #define Zuber_H
45 
46 #include "CHFModel.H"
47 
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 
50 namespace Foam
51 {
52 namespace wallBoilingModels
53 {
54 namespace CHFModels
55 {
56 
57 /*---------------------------------------------------------------------------*\
58  Class Zuber Declaration
59 \*---------------------------------------------------------------------------*/
60 
61 class Zuber
62 :
63  public CHFModel
64 {
65 
66  // Private data:
67 
68  //- Coefficient constant
69  scalar Cn_;
70 
71 public:
72 
73  //- Runtime type information
74  TypeName("Zuber");
75 
76  // Constructors
77 
78  //- Construct from a dictionary
79  Zuber(const dictionary& dict);
80 
81 
82  //- Destructor
83  virtual ~Zuber();
84 
85 
86  // Member Functions
87 
88  //- Calculate and return the nucleation-site density
89  virtual tmp<scalarField> CHF
90  (
91  const phaseModel& liquid,
92  const phaseModel& vapor,
93  const label patchi,
94  const scalarField& Tl,
95  const scalarField& Tsatw,
96  const scalarField& L
97  ) const;
98 
99  virtual void write(Ostream& os) const;
100 };
101 
102 
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 
105 } // End namespace CHFModels
106 } // End namespace wallBoilingModels
107 } // End namespace Foam
108 
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 
111 #endif
112 
113 // ************************************************************************* //
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::wallBoilingModels::CHFModels::Zuber::~Zuber
virtual ~Zuber()
Destructor.
Definition: Zuber.C:68
Foam::wallBoilingModels::CHFModels::Zuber::Zuber
Zuber(const dictionary &dict)
Construct from a dictionary.
Definition: Zuber.C:57
wallBoilingModels
Critical heat flux (CHF) correlation.
Foam::Field< scalar >
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:121
CHFModel.H
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::CHFModel
Base class for nucleation site density models.
Definition: CHFModel.H:56
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:76
Foam::wallBoilingModels::CHFModels::Zuber::write
virtual void write(Ostream &os) const
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
Definition: Zuber.H:60