Schroeder.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:TDNBModels:::Schroeder
28 
29 Description
30  Departure from nulceate boiling correlation.
31 
32  References:
33  \verbatim
34  Schroeder-Richter D. and Bartsch G. Analytical calculation of
35  DNB-superheating by a pos-tulated thermo-mechanical effect of
36  nucleate boiling.
37  International Journal of Multiphase Flow, 20(6):1143–1167, 1994.
38 
39  \endverbatim
40 
41 
42  \verbatim
43  THEORETICAL CRITICAL HEAT FLUX PREDICTION BASEDNON-EQUILIBRIUM
44  THERMODYNAMICS CONSIDERATIONSTHE SUBCOOLED BOILING PHENOMENON
45 
46  Germán Thelera and Daniel Freisba TECNA
47  Estudios y Proyectos de Ingenierı́a S.A.
48  Encarnación Ezcurra 365, C1107CLA Buenos Aires, Argentina
49  Westinghouse
50  Electric Germany GmbH
51  Dudenstraße 44, 68167 Mannheim, Germany
52  \endverbatim
53 
54 
55 SourceFiles
56  Schroeder.C
57 
58 \*---------------------------------------------------------------------------*/
59 
60 #ifndef Schroeder_H
61 #define Schroeder_H
62 
63 #include "TDNBModel.H"
64 
65 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
66 
67 namespace Foam
68 {
69 namespace wallBoilingModels
70 {
71 namespace TDNBModels
72 {
73 
74 /*---------------------------------------------------------------------------*\
75  Class Schroeder Declaration
76 \*---------------------------------------------------------------------------*/
77 
78 class Schroeder
79 :
80  public TDNBModel
81 {
82 
83  // Private data:
84 
85  //- Isoentropic expansion factor for ideal gases
86  // 5/3 monoatomic
87  // 7/5 diatomic
88  scalar kg_;
89 
90 public:
91 
92  //- Runtime type information
93  TypeName("Schroeder");
94 
95  // Constructors
96 
97  //- Construct from a dictionary
98  Schroeder(const dictionary& dict);
99 
100 
101  //- Destructor
102  virtual ~Schroeder();
103 
104 
105  // Member Functions
106 
107  //- Calculate and return the nucleation-site density
108  virtual tmp<scalarField> TDNB
109  (
110  const phaseModel& liquid,
111  const phaseModel& vapor,
112  const label patchi,
113  const scalarField& Tl,
114  const scalarField& Tsatw,
115  const scalarField& L
116  ) const;
117 
118 
119  virtual void write(Ostream& os) const;
120 };
121 
122 
123 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124 
125 } // End namespace TDNBModels
126 } // End namespace wallBoilingModels
127 } // End namespace Foam
128 
129 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
130 
131 #endif
132 
133 // ************************************************************************* //
Foam::wallBoilingModels::TDNBModel
Base class for nucleation site density models.
Definition: TDNBModel.H:56
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::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::wallBoilingModels::TDNBModels::Schroeder::~Schroeder
virtual ~Schroeder()
Destructor.
Definition: Schroeder.C:69
wallBoilingModels
Critical heat flux (CHF) correlation.
TDNBModel.H
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
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::TDNBModels::Schroeder::Schroeder
Schroeder(const dictionary &dict)
Construct from a dictionary.
Definition: Schroeder.C:58
Foam::wallBoilingModels::TDNBModels::Schroeder::write
virtual void write(Ostream &os) const
Definition: Schroeder.C:101
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
Foam::wallBoilingModels::TDNBModels::Schroeder::TDNB
virtual tmp< scalarField > TDNB(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: Schroeder.C:77
Foam::wallBoilingModels::TDNBModels::Schroeder
Definition: Schroeder.H:77
Foam::wallBoilingModels::TDNBModels::Schroeder::TypeName
TypeName("Schroeder")
Runtime type information.