LemmertChawla.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::nucleationSiteModels::LemmertChawla
26 
27 Description
28  Lemmert & Chawla function for nucleation site density,
29  correlation by Egorov & Menter.
30 
31  References:
32  \verbatim
33  Lemmert, M., & Chawla, J. M. (1977).
34  Influence of flow velocity on surface boiling heat transfer coefficient.
35  Heat Transfer in Boiling, 237, 247.
36 
37  Egorov, Y., & Menter, F. (2004).
38  Experimental implementation of the RPI wall boiling model in CFX-5.6.
39  Staudenfeldweg, 12, 83624.
40  Technical Report ANSYS/TR-04-10, ANSYS Gmbh.
41  \endverbatim
42 
43 SourceFiles
44  LemmertChawla.C
45 
46 \*---------------------------------------------------------------------------*/
47 
48 #ifndef LemmertChawla_H
49 #define LemmertChawla_H
50 
51 #include "nucleationSiteModel.H"
52 
53 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
54 
55 namespace Foam
56 {
57 namespace wallBoilingModels
58 {
59 namespace nucleationSiteModels
60 {
61 
62 /*---------------------------------------------------------------------------*\
63  Class LemmertChawla Declaration
64 \*---------------------------------------------------------------------------*/
65 
66 class LemmertChawla
67 :
68  public nucleationSiteModel
69 {
70  // Private Data:
71 
72  //- Coefficient for nucleation site density
73  scalar Cn_;
74 
75  //- Reference nucleations density
76  scalar NRef_;
77 
78  //- Reference temperature difference
79  scalar deltaTRef_;
80 
81 
82 public:
83 
84  //- Runtime type information
85  TypeName("LemmertChawla");
86 
87  // Constructors
88 
89  //- Construct from a dictionary
91 
92  //- Copy construct
93  LemmertChawla(const LemmertChawla& model);
94 
95  //- Construct and return a clone
96  virtual autoPtr<nucleationSiteModel> clone() const
97  {
99  }
100 
101 
102  //- Destructor
103  virtual ~LemmertChawla();
104 
105 
106  // Member Functions
107 
108  //- Calculate and return the nucleation-site density
109  virtual tmp<scalarField> N
110  (
111  const phaseModel& liquid,
112  const phaseModel& vapor,
113  const label patchi,
114  const scalarField& Tl,
115  const scalarField& Tsatw,
116  const scalarField& L,
117  const scalarField& dDep,
118  const scalarField& fDep
119  ) const;
120 
121  virtual void write(Ostream& os) const;
122 };
123 
124 
125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
126 
127 } // End namespace nucleationSiteModels
128 } // End namespace wallBoilingModels
129 } // End namespace Foam
130 
131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
132 
133 #endif
134 
135 // ************************************************************************* //
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
LemmertChawla(const dictionary &dict)
Construct from a dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
TypeName("LemmertChawla")
Runtime type information.
virtual tmp< scalarField > N(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L, const scalarField &dDep, const scalarField &fDep) const
Calculate and return the nucleation-site density.
Lemmert & Chawla function for nucleation site density, correlation by Egorov & Menter.
Definition: LemmertChawla.H:65
Base class for nucleation site density models.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:54
label patchi
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
virtual autoPtr< nucleationSiteModel > clone() const
Construct and return a clone.
Definition: LemmertChawla.H:95
Namespace for OpenFOAM.