Cole.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 Class
25  Foam::wallBoilingModels::departureFrequencyModels::Cole
26 
27 Description
28  Cole correlation for bubble departure frequency.
29 
30  Reference:
31  \verbatim
32  Cole, R. (1960).
33  A photographic study of pool boiling in the region of the critical heat
34  flux.
35  AIChE Journal, 6(4), 533-538.
36  \endverbatim
37 
38 SourceFiles
39  Cole.C
40 
41 \*---------------------------------------------------------------------------*/
42 
43 #ifndef Cole_H
44 #define Cole_H
45 
47 
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 
50 namespace Foam
51 {
52 namespace wallBoilingModels
53 {
54 namespace departureFrequencyModels
55 {
56 
57 /*---------------------------------------------------------------------------*\
58  Class Cole Declaration
59 \*---------------------------------------------------------------------------*/
60 
61 class Cole
62 :
64 {
65 public:
66 
67  //- Runtime type information
68  TypeName("Cole");
69 
70 
71  // Constructors
72 
73  //- Construct from a dictionary
74  Cole(const dictionary& dict);
75 
76  //- Copy construct
77  Cole(const Cole& model);
78 
79  //- Construct and return a clone
81  {
82  return autoPtr<departureFrequencyModel>(new Cole(*this));
83  }
84 
85 
86  //- Destructor
87  virtual ~Cole();
88 
89 
90  // Member Functions
91 
92  //- Calculate and return the bubble departure frequency
94  (
95  const phaseModel& liquid,
96  const phaseModel& vapor,
97  const label patchi,
98  const scalarField& Tl,
99  const scalarField& Tsatw,
100  const scalarField& L,
101  const scalarField& dDep
102  ) const;
103 };
104 
105 
106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107 
108 } // End namespace departureFrequencyModels
109 } // End namespace wallBoilingModels
110 } // End namespace Foam
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 #endif
115 
116 // ************************************************************************* //
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:50
dictionary dict
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
Base class for bubble departure frequency models.
virtual tmp< scalarField > fDeparture(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L, const scalarField &dDep) const
Calculate and return the bubble departure frequency.
Cole correlation for bubble departure frequency.
Definition: Cole.H:60
virtual autoPtr< departureFrequencyModel > clone() const
Construct and return a clone.
Definition: Cole.H:79
label patchi
Cole(const dictionary &dict)
Construct from a dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
A class for managing temporary objects.
Definition: PtrList.H:53
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:53
Namespace for OpenFOAM.