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 -------------------------------------------------------------------------------
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::Bromley
28 
29 Description
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 
40 Usage
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 
64 SourceFiles
65  Bromley.C
66 
67 \*---------------------------------------------------------------------------*/
68 
69 #ifndef Bromley_H
70 #define Bromley_H
71 
72 #include "filmBoilingModel.H"
73 
74 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
75 
76 namespace Foam
77 {
78 namespace wallBoilingModels
79 {
80 namespace filmBoilingModels
81 {
82 
83 /*---------------------------------------------------------------------------*\
84  Class Bromley Declaration
85 \*---------------------------------------------------------------------------*/
86 
87 class 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 
112 public:
113 
114  //- Runtime type information
115  TypeName("Bromley");
116 
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;
144 };
145 
146 
147 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
148 
149 } // End namespace filmBoilingModels
150 } // End namespace wallBoilingModels
151 } // End namespace Foam
152 
153 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
154 
155 #endif
156 
157 // ************************************************************************* //
Foam::phaseModel
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:54
L
const vector L(dict.get< vector >("L"))
Foam::wallBoilingModels::filmBoilingModels::Bromley::TypeName
TypeName("Bromley")
Runtime type information.
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
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 >
Foam::wallBoilingModels::filmBoilingModels::Bromley::~Bromley
virtual ~Bromley()=default
Destructor.
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::wallBoilingModels::filmBoilingModels::Bromley::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 film boiling correlation.
Definition: Bromley.C:73
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::filmBoilingModels::Bromley
A correlation for boiling film modelling based on Bromley (1950) for boiling flows.
Definition: Bromley.H:116
Foam::wallBoilingModels::filmBoilingModels::Bromley::write
virtual void write(Ostream &os) const
Write.
Definition: Bromley.C:123
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
filmBoilingModel.H