Jeschar.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::MHFModels::Jeschar
28
29Description
30 A model for minimum heat flux based on
31 Jeschar et al. (1992) for boiling flows.
32
33 Reference:
34 \verbatim
35 Jeschar, R., Specht, E., & Köhler, C. (1992).
36 Heat transfer during cooling of heated
37 metallic objects with evaporating liquids.
38 In Theory and Technology of Quenching (pp. 73-92).
39 Springer, Berlin, Heidelberg.
40 DOI:10.1007/978-3-662-01596-4_4
41 \endverbatim
42
43Usage
44 Example of the model specification:
45 \verbatim
46 MHFModel
47 {
48 // Mandatory entries
49 type Jeschar;
50
51 // Optional entries
52 Kmhf <scalar>;
53 }
54 \endverbatim
55
56 where the entries mean:
57 \table
58 Property | Description | Type | Reqd | Deflt
59 type | Type name: Jeschar | word | yes | -
60 Kmhf | Burn out factor | scalar | no | 1.0
61 \endtable
62
63SourceFiles
64 Jeschar.C
65
66\*---------------------------------------------------------------------------*/
67
68#ifndef Jeschar_H
69#define Jeschar_H
70
71#include "MHFModel.H"
72
73// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
74
75namespace Foam
76{
77namespace wallBoilingModels
78{
79namespace CHFModels
80{
81
82/*---------------------------------------------------------------------------*\
83 Class Jeschar Declaration
84\*---------------------------------------------------------------------------*/
85
86class Jeschar
87:
88 public MHFModel
89{
90 // Private Data
91
92 //- Burn out factor
93 scalar Kmhf_;
94
95
96 // Private Member Functions
97
98 //- No copy construct
99 Jeschar(const Jeschar&) = delete;
100
101 //- No copy assignment
102 void operator=(const Jeschar&) = delete;
104
105public:
106
107 //- Runtime type information
108 TypeName("Jeschar");
109
110
111 // Constructors
112
113 //- Construct from a dictionary
114 Jeschar(const dictionary& dict);
115
116
117 //- Destructor
118 virtual ~Jeschar() = default;
119
120
121 // Member Functions
122
123 //- Calculate and return the minimum heat flux
124 virtual tmp<scalarField> MHF
126 const phaseModel& liquid,
127 const phaseModel& vapor,
128 const label patchi,
129 const scalarField& Tl,
130 const scalarField& Tsatw,
131 const scalarField& L
132 ) const;
133
134 // I-O
136 //- Write
137 virtual void write(Ostream& os) const;
138};
139
140
141// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
142
143} // End namespace CHFModels
144} // End namespace wallBoilingModels
145} // End namespace Foam
146
147// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
148
149#endif
150
151// ************************************************************************* //
Base class for minimum heat flux (MHF) models.
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
virtual ~Jeschar()=default
Destructor.
TypeName("Jeschar")
Runtime type information.
virtual tmp< scalarField > MHF(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L) const
Calculate and return the minimum heat flux.
Definition: Jeschar.C:70
A model for minimum heat flux based on Jeschar et al. (1992) for boiling flows.
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"))