BreenWestwater.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) 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::BreenWestwater
28
29Description
30 Boiling film correlation.
31 A correlation for boiling film modelling
32 based on Breen & Westwater (1965) for boiling flows.
33
34 References:
35 \verbatim
36 Breen B.P. & Westwater J. W. (1965)
37 Effect of diameter of horizontal
38 tubes on film boiling heat tranfer.
39 Chem. Eng. Progr. 58. No 7.
40 \endverbatim
41
42Usage
43 Example of the model specification:
44 \verbatim
45 filmBoilingModel
46 {
47 // Mandatory entries
48 type BreenWestwater;
49
50 // Optional entries
51 Cn <scalar>;
52 an <scalar>;
53 bn <scalar>;
54 n <scalar>;
55 }
56 \endverbatim
57
58 where the entries mean:
59 \table
60 Property | Description | Type | Reqd | Deflt
61 type | Type name: BreenWestwater | word | yes | -
62 Cn | Model coefficient | scalar | no | 0.37
63 \endtable
64
65SourceFiles
66 BreenWestwater.C
67
68\*---------------------------------------------------------------------------*/
69
70#ifndef BreenWestwater_H
71#define BreenWestwater_H
72
73#include "filmBoilingModel.H"
74
75// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
76
77namespace Foam
78{
79namespace wallBoilingModels
80{
81namespace filmBoilingModels
82{
83
84/*---------------------------------------------------------------------------*\
85 Class BreenWestwater Declaration
86\*---------------------------------------------------------------------------*/
87
88class BreenWestwater
89:
90 public filmBoilingModel
91{
92 // Private Data
93
94 //- Model coefficient
95 scalar Cn_;
96
97
98 // Private Member Functions
99
100 //- No copy construct
101 BreenWestwater(const BreenWestwater&) = delete;
102
103 //- No copy assignment
104 void operator=(const BreenWestwater&) = delete;
106
107public:
108
109 //- Runtime type information
110 TypeName("BreenWestwater");
111
112
113 // Constructors
114
115 //- Construct from a dictionary
117
118
119 //- Destructor
120 virtual ~BreenWestwater() = default;
121
122
123 // Member Functions
124
125 //- Calculate and return the nucleation-site density
128 const phaseModel& liquid,
129 const phaseModel& vapor,
130 const label patchi,
131 const scalarField& Tl,
132 const scalarField& Tsatw,
133 const scalarField& L
134 ) const;
135
136 //- Write
137 virtual void write(Ostream& os) const;
138};
139
140
141// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
142
143} // End namespace filmBoilingModels
144} // End namespace wallBoilingModels
145} // End namespace Foam
146
147// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
148
149#endif
150
151// ************************************************************************* //
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
Boiling film correlation. A correlation for boiling film modelling based on Breen & Westwater (1965) ...
TypeName("BreenWestwater")
Runtime type information.
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 nucleation-site density.
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"))