Bromley.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-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::wallBoilingModels::filmBoilingModels::Bromley
28
29Description
30 A correlation for boiling film modelling
31 based on Bromley (1950) for boiling flows.
32
33 Reference:
34 \verbatim
35 Bromley, L. A. (1950).
36 Heat transfer in stable film boiling.
37 Chemical Engineering Progress, 46, 221-227.
38 \endverbatim
39
40Usage
41 Example of the model specification:
42 \verbatim
43 filmBoilingModel
44 {
45 // Mandatory entries
46 type Bromley;
47 L <scalar>;
48
49 // Optional entries
50 Cn <scalar>;
51 emissivity <scalar>;
52 }
53 \endverbatim
54
55 where the entries mean:
56 \table
57 Property | Description | Type | Reqd | Deflt
58 type | Type name: Bromley | word | yes | -
59 L | Characteristic length scale | scalar | yes | -
60 Cn | Coefficient for nucleation site density | scalar | no | 0.62
61 emissivity | Wall emissivity | scalar | no | 1.0
62 \endtable
63
64SourceFiles
65 Bromley.C
66
67\*---------------------------------------------------------------------------*/
68
69#ifndef Bromley_H
70#define Bromley_H
71
72#include "filmBoilingModel.H"
73
74// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
75
76namespace Foam
77{
78namespace wallBoilingModels
79{
80namespace filmBoilingModels
81{
82
83/*---------------------------------------------------------------------------*\
84 Class Bromley Declaration
85\*---------------------------------------------------------------------------*/
86
87class Bromley
88:
89 public filmBoilingModel
90{
91 // Private Data
92
93 //- Coefficient for nucleation site density
94 scalar Cn_;
95
96 //- Wall emissivity
97 scalar emissivity_;
98
99 //- Characteristic length scale
100 scalar L_;
101
102
103 // Private Member Functions
104
105 //- No copy construct
106 Bromley(const Bromley&) = delete;
107
108 //- No copy assignment
109 void operator=(const Bromley&) = delete;
110
111
112public:
113
114 //- Runtime type information
115 TypeName("Bromley");
117 // Constructors
118
119 //- Construct from a dictionary
120 Bromley(const dictionary& dict);
121
122
123 //- Destructor
124 virtual ~Bromley() = default;
125
126
127 // Member Functions
128
129 //- Calculate and return the film boiling correlation
131 (
132 const phaseModel& liquid,
133 const phaseModel& vapor,
134 const label patchi,
135 const scalarField& Tl,
136 const scalarField& Tsatw,
137 const scalarField& L
138 ) const;
139
140 // I-O
141
142 //- Write
143 virtual void write(Ostream& os) const;
145
146
147// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
148
149} // End namespace filmBoilingModels
150} // End namespace wallBoilingModels
151} // End namespace Foam
152
153// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
154
155#endif
156
157// ************************************************************************* //
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
Base class for film boiling models.
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
A correlation for boiling film modelling based on Bromley (1950) for boiling flows.
Definition: Bromley.H:119
virtual tmp< scalarField > htcFilmBoil(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L) const
Calculate and return the film boiling correlation.
Definition: Bromley.C:73
TypeName("Bromley")
Runtime type information.
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"))