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 -------------------------------------------------------------------------------
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::MHFModels::Jeschar
28 
29 Description
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 
43 Usage
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 
63 SourceFiles
64  Jeschar.C
65 
66 \*---------------------------------------------------------------------------*/
67 
68 #ifndef Jeschar_H
69 #define Jeschar_H
70 
71 #include "MHFModel.H"
72 
73 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
74 
75 namespace Foam
76 {
77 namespace wallBoilingModels
78 {
79 namespace CHFModels
80 {
81 
82 /*---------------------------------------------------------------------------*\
83  Class Jeschar Declaration
84 \*---------------------------------------------------------------------------*/
85 
86 class 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;
103 
104 
105 public:
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
125  (
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
135 
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 // ************************************************************************* //
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"))
Jeschar
A model for minimum heat flux based on Jeschar et al. (1992) for boiling flows.
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::liquid
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:54
Foam::Field< scalar >
Foam::wallBoilingModels::CHFModels::Jeschar::write
virtual void write(Ostream &os) const
Write.
Definition: Jeschar.C:111
Foam::wallBoilingModels::CHFModels::Jeschar::TypeName
TypeName("Jeschar")
Runtime type information.
MHFModel
Base class for minimum heat flux (MHF) models.
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::MHFModel
Definition: MHFModel.H:56
Foam::wallBoilingModels::CHFModels::Jeschar::~Jeschar
virtual ~Jeschar()=default
Destructor.
Foam::wallBoilingModels::CHFModels::Jeschar::MHF
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
MHFModel.H
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
Foam::wallBoilingModels::CHFModels::Jeschar
Definition: Jeschar.H:103