Spiegler.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:LeidenfrostModels:::Spiegler
28 
29 Description
30  Leidenfrost temperature model.
31 
32  References:
33  \verbatim
34  SPIEGLER P., HOPENFELD J., SILBERBERG M., BUMPUS J. and NORMAN A.,
35  Onset of stable film boiling and the foam limit, International
36  Journal of Heat and Mass Transfer, 6,11, pp.987-989, 1963
37  \endverbatim
38 
39 SourceFiles
40  Spiegler.C
41 
42 \*---------------------------------------------------------------------------*/
43 
44 #ifndef Spiegler_H
45 #define Spiegler_H
46 
47 #include "LeidenfrostModel.H"
48 
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 
51 namespace Foam
52 {
53 namespace wallBoilingModels
54 {
55 namespace LeidenfrostModels
56 {
57 
58 /*---------------------------------------------------------------------------*\
59  Class Spiegler Declaration
60 \*---------------------------------------------------------------------------*/
61 
62 class Spiegler
63 :
64  public LeidenfrostModel
65 {
66 
67 private:
68 
69  //- Critical temperature
70  scalar Tcrit_;
71 
72 
73 public:
74 
75  //- Runtime type information
76  TypeName("Spiegler");
77 
78  // Constructors
79 
80  //- Construct from a dictionary
81  Spiegler(const dictionary& dict);
82 
83 
84  //- Destructor
85  virtual ~Spiegler();
86 
87 
88  // Member Functions
89 
90  //- Calculate and return the nucleation-site density
91  virtual tmp<scalarField> TLeid
92  (
93  const phaseModel& liquid,
94  const phaseModel& vapor,
95  const label patchi,
96  const scalarField& Tl,
97  const scalarField& Tsatw,
98  const scalarField& L
99  ) const;
100 
101 
102  virtual void write(Ostream& os) const;
103 };
104 
105 
106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107 
108 } // End namespace LeidenfrostModels
109 } // End namespace wallBoilingModels
110 } // End namespace Foam
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 #endif
115 
116 // ************************************************************************* //
Foam::phaseModel
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:54
Foam::wallBoilingModels::LeidenfrostModel
Base class for nucleation site density models.
Definition: LeidenfrostModel.H:56
L
const vector L(dict.get< vector >("L"))
Foam::wallBoilingModels::LeidenfrostModels::Spiegler::TypeName
TypeName("Spiegler")
Runtime type information.
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
LeidenfrostModel.H
Foam::wallBoilingModels::LeidenfrostModels::Spiegler::write
virtual void write(Ostream &os) const
Definition: Spiegler.C:95
wallBoilingModels
Critical heat flux (CHF) correlation.
Foam::wallBoilingModels::LeidenfrostModels::Spiegler::Spiegler
Spiegler(const dictionary &dict)
Construct from a dictionary.
Definition: Spiegler.C:55
Foam::wallBoilingModels::LeidenfrostModels::Spiegler::~Spiegler
virtual ~Spiegler()
Destructor.
Definition: Spiegler.C:66
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::LeidenfrostModels::Spiegler::TLeid
virtual tmp< scalarField > TLeid(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: Spiegler.C:74
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
Foam::wallBoilingModels::LeidenfrostModels::Spiegler
Definition: Spiegler.H:61