LemmertChawla.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) 2016-2018 OpenFOAM Foundation
9 Copyright (C) 2021 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27Class
28 Foam::wallBoilingModels::nucleationSiteModels::LemmertChawla
29
30Description
31 A model for nucleation site density based on
32 Lemmert-Chawla (1977) function and
33 Egorov-Menter (2004) correlation for boiling flows.
34
35 Reference:
36 \verbatim
37 Lemmert, M., & Chawla, J. M. (1977).
38 Influence of flow velocity on surface boiling heat transfer coefficient.
39 Heat Transfer in Boiling, 237, 247.
40
41 Egorov, Y., & Menter, F. (2004).
42 Experimental implementation of the RPI wall boiling model in CFX-5.6.
43 Staudenfeldweg, 12, 83624.
44 Technical Report ANSYS/TR-04-10, ANSYS Gmbh.
45 \endverbatim
46
47Usage
48 Example of the model specification:
49 \verbatim
50 nucleationSiteModel
51 {
52 // Mandatory entries
53 type LemmertChawla;
54
55 // Optional entries
56 Cn <scalar>;
57 }
58 \endverbatim
59
60 where the entries mean:
61 \table
62 Property | Description | Type | Reqd | Deflt
63 type | Type name: LemmertChawla | word | yes | -
64 Cn | Coefficient for nucleation site density | scalar | no | 1.0
65 \endtable
66
67SourceFiles
68 LemmertChawla.C
69
70\*---------------------------------------------------------------------------*/
71
72#ifndef LemmertChawla_H
73#define LemmertChawla_H
74
75#include "nucleationSiteModel.H"
76
77// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
78
79namespace Foam
80{
81namespace wallBoilingModels
82{
83namespace nucleationSiteModels
84{
85
86/*---------------------------------------------------------------------------*\
87 Class LemmertChawla Declaration
88\*---------------------------------------------------------------------------*/
89
90class LemmertChawla
91:
92 public nucleationSiteModel
93{
94 // Private Data
95
96 //- Coefficient for nucleation site density
97 scalar Cn_;
98
99
100 // Private Member Functions
101
102 //- No copy construct
103 LemmertChawla(const LemmertChawla&) = delete;
104
105 //- No copy assignment
106 void operator=(const LemmertChawla&) = delete;
108
109public:
110
111 //- Runtime type information
112 TypeName("LemmertChawla");
113
114
115 // Constructors
116
117 //- Construct from a dictionary
119
120
121 //- Destructor
122 virtual ~LemmertChawla() = default;
123
124
125 // Member Functions
126
127 //- Calculate and return the nucleation-site density
128 virtual tmp<scalarField> N
130 const phaseModel& liquid,
131 const phaseModel& vapor,
132 const label patchi,
133 const scalarField& Tl,
134 const scalarField& Tsatw,
135 const scalarField& L
136 ) const;
137
138 // I-O
140 //- Write
141 virtual void write(Ostream& os) const;
142};
143
144
145// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
146
147} // End namespace nucleationSiteModels
148} // End namespace wallBoilingModels
149} // End namespace Foam
150
151// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
152
153#endif
154
155// ************************************************************************* //
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 nucleation site density models.
A model for nucleation site density based on Lemmert-Chawla (1977) function and Egorov-Menter (2004) ...
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
Calculate and return the nucleation-site density.
Definition: LemmertChawla.C:68
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"))