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 -------------------------------------------------------------------------------
10 License
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 
26 Class
27  Foam::wallBoilingModels::filmBoilingModels::BreenWestwater
28 
29 Description
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 
42 Usage
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 
65 SourceFiles
66  BreenWestwater.C
67 
68 \*---------------------------------------------------------------------------*/
69 
70 #ifndef BreenWestwater_H
71 #define BreenWestwater_H
72 
73 #include "filmBoilingModel.H"
74 
75 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
76 
77 namespace Foam
78 {
79 namespace wallBoilingModels
80 {
81 namespace filmBoilingModels
82 {
83 
84 /*---------------------------------------------------------------------------*\
85  Class BreenWestwater Declaration
86 \*---------------------------------------------------------------------------*/
87 
88 class 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;
105 
106 
107 public:
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
127  (
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 // ************************************************************************* //
Foam::phaseModel
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:54
Foam::wallBoilingModels::filmBoilingModels::BreenWestwater::TypeName
TypeName("BreenWestwater")
Runtime type information.
Foam::wallBoilingModels::filmBoilingModels::BreenWestwater
Boiling film correlation. A correlation for boiling film modelling based on Breen & Westwater (1965) ...
Definition: BreenWestwater.H:105
L
const vector L(dict.get< vector >("L"))
Foam::wallBoilingModels::filmBoilingModels::BreenWestwater::htcFilmBoil
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.
Definition: BreenWestwater.C:69
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::wallBoilingModels::filmBoilingModels::BreenWestwater::~BreenWestwater
virtual ~BreenWestwater()=default
Destructor.
Foam::wallBoilingModels::filmBoilingModel
Definition: filmBoilingModel.H:56
Foam::liquid
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:54
Foam::Field< scalar >
filmBoilingModel
Base class for film boiling models.
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
os
OBJstream os(runTime.globalPath()/outputName)
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::filmBoilingModels::BreenWestwater::write
virtual void write(Ostream &os) const
Write.
Definition: BreenWestwater.C:127
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
filmBoilingModel.H