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-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::wallBoilingModels::LeidenfrostModels::Spiegler
28
29Description
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
42Usage
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
62SourceFiles
63 Spiegler.C
64
65\*---------------------------------------------------------------------------*/
66
67#ifndef Spiegler_H
68#define Spiegler_H
69
70#include "LeidenfrostModel.H"
71
72// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
73
74namespace Foam
75{
76namespace wallBoilingModels
77{
78namespace LeidenfrostModels
79{
80
81/*---------------------------------------------------------------------------*\
82 Class Spiegler Declaration
83\*---------------------------------------------------------------------------*/
84
85class 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;
103
104public:
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
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
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// ************************************************************************* //
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:62
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:57
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:61
A class for managing temporary objects.
Definition: tmp.H:65
Base class for Leidenfrost-effect models.
A model for Leidenfrost effects based on Spiegler et al. (1963) for boiling flows.
Definition: Spiegler.H:105
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
TypeName("Spiegler")
Runtime type information.
OBJstream os(runTime.globalPath()/outputName)
Namespace for OpenFOAM.
runTime write()
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73
const vector L(dict.get< vector >("L"))