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 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  Boiling film correlation.
31 
32  References:
33  \verbatim
34  A. Bromley, Heat transfer in stable film boiling,
35  Chem. Eng. Prog. 58 (1950) 67–72.
36  \endverbatim
37 
38 SourceFiles
39  Bromley.C
40 
41 \*---------------------------------------------------------------------------*/
42 
43 #ifndef Bromley_H
44 #define Bromley_H
45 
46 #include "filmBoilingModel.H"
47 
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 
50 namespace Foam
51 {
52 namespace wallBoilingModels
53 {
54 namespace filmBoilingModels
55 {
56 
57 /*---------------------------------------------------------------------------*\
58  Class Bromley Declaration
59 \*---------------------------------------------------------------------------*/
60 
61 class Bromley
62 :
63  public filmBoilingModel
64 {
65 
66  // Private data:
67 
68  //- Coefficient for nucleation site density
69  scalar Cn_;
70 
71  //- Wall emissivity
72  scalar emissivity_;
73 
74  //- Characteristic lenght-scale
75  scalar L_;
76 
77 public:
78 
79  //- Runtime type information
80  TypeName("Bromley");
81 
82  // Constructors
83 
84  //- Construct from a dictionary
85  Bromley(const dictionary& dict);
86 
87 
88  //- Destructor
89  virtual ~Bromley();
90 
91 
92  // Member Functions
93 
94  //- Calculate and return the nucleation-site density
96  (
97  const phaseModel& liquid,
98  const phaseModel& vapor,
99  const label patchi,
100  const scalarField& Tl,
101  const scalarField& Tsatw,
102  const scalarField& L
103  ) const;
104 
105 
106  virtual void write(Ostream& os) const;
107 };
108 
109 
110 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 
112 } // End namespace filmBoilingModels
113 } // End namespace wallBoilingModels
114 } // End namespace Foam
115 
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 
118 #endif
119 
120 // ************************************************************************* //
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::wallBoilingModels::filmBoilingModels::Bromley::Bromley
Bromley(const dictionary &dict)
Construct from a dictionary.
Definition: Bromley.C:58
wallBoilingModels
Critical heat flux (CHF) correlation.
Foam::Field< scalar >
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:121
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 nucleation-site density.
Definition: Bromley.C:79
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::filmBoilingModels::Bromley
Definition: Bromley.H:60
Foam::wallBoilingModels::filmBoilingModels::Bromley::~Bromley
virtual ~Bromley()
Destructor.
Definition: Bromley.C:71
Foam::wallBoilingModels::filmBoilingModels::Bromley::write
virtual void write(Ostream &os) const
Definition: Bromley.C:128
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
filmBoilingModel.H