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-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::LeidenfrostModels::Spiegler
28 
29 Description
30  A model for Leidenfrost effects based on
31  Spiegler et al. (1963) for boiling flows.
32 
33  Reference:
34  \verbatim
35  Spiegler, P., Hopenfeld, J., Silberberg, M.,
36  Bumpus Jr, C. F., & Norman, A. (1963).
37  Onset of stable film boiling and the foam limit.
38  International Journal of Heat and Mass Transfer, 6(11), 987-989.
39  DOI:10.1016/0017-9310(63)90053-X
40  \endverbatim
41 
42 Usage
43  Example of the model specification:
44  \verbatim
45  LeidenfrostModel
46  {
47  // Mandatory entries
48  type Spiegler;
49 
50  // Optional entries
51  Tcrit <scalar>;
52  }
53  \endverbatim
54 
55  where the entries mean:
56  \table
57  Property | Description | Type | Reqd | Deflt
58  type | Type name: Spiegler | word | yes | -
59  Tcrit | Critical temperature [K] | scalar | no | 374.0
60  \endtable
61 
62 SourceFiles
63  Spiegler.C
64 
65 \*---------------------------------------------------------------------------*/
66 
67 #ifndef Spiegler_H
68 #define Spiegler_H
69 
70 #include "LeidenfrostModel.H"
71 
72 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
73 
74 namespace Foam
75 {
76 namespace wallBoilingModels
77 {
78 namespace LeidenfrostModels
79 {
80 
81 /*---------------------------------------------------------------------------*\
82  Class Spiegler Declaration
83 \*---------------------------------------------------------------------------*/
84 
85 class Spiegler
86 :
87  public LeidenfrostModel
88 {
89  // Private Data
90 
91  //- Critical temperature
92  scalar Tcrit_;
93 
94 
95  // Private Member Functions
96 
97  //- No copy construct
98  Spiegler(const Spiegler&) = delete;
99 
100  //- No copy assignment
101  void operator=(const Spiegler&) = delete;
102 
103 
104 public:
105 
106  //- Runtime type information
107  TypeName("Spiegler");
108 
109 
110  // Constructors
111 
112  //- Construct from a dictionary
113  Spiegler(const dictionary& dict);
114 
115 
116  //- Destructor
117  virtual ~Spiegler() = default;
118 
119 
120  // Member Functions
121 
122  //- Calculate and return the Leidenfrost temperature
123  virtual tmp<scalarField> TLeid
124  (
125  const phaseModel& liquid,
126  const phaseModel& vapor,
127  const label patchi,
128  const scalarField& Tl,
129  const scalarField& Tsatw,
130  const scalarField& L
131  ) const;
132 
133  // I-O
134 
135  //- Write
136  virtual void write(Ostream& os) const;
137 };
138 
139 
140 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
141 
142 } // End namespace LeidenfrostModels
143 } // End namespace wallBoilingModels
144 } // End namespace Foam
145 
146 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
147 
148 #endif
149 
150 // ************************************************************************* //
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 Leidenfrost-effect 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
Write.
Definition: Spiegler.C:86
Foam::liquid
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:54
Foam::wallBoilingModels::LeidenfrostModels::Spiegler::~Spiegler
virtual ~Spiegler()=default
Destructor.
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:123
os
OBJstream os(runTime.globalPath()/outputName)
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 Leidenfrost temperature.
Definition: Spiegler.C:68
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
A model for Leidenfrost effects based on Spiegler et al. (1963) for boiling flows.
Definition: Spiegler.H:102