exponential.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) 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::nucleateFluxModels::exponential
28
29Description
30 Nucleate flux sub-cooling correlation
31
32 References:
33 \verbatim
34 Frost W. & Dzakowic G. S. (1967)
35 An extension of the methods of predicting incipient
36 boiling on commercially finished surfaces.
37 ASME AIChE Heat Transfer Conf 67-HT-61, Seattle.
38
39 Shirai, Y., Tatsumoto, H., Shiotsu, M., Hata, K.,
40 Kobayashi, H., Naruo, Y., & Inatani, Y. (2010).
41 Boiling heat transfer from a horizontal flat
42 plate in a pool of liquid hydrogen.
43 Cryogenics, 50(6-7), 410-416.
44 DOI:10.1016/j.cryogenics.2010.04.001
45 \endverbatim
46
47Usage
48 Example of the model specification:
49 \verbatim
50 nucleateFluxModel
51 {
52 // Mandatory entries
53 type exponential;
54
55 // Optional entries
56 a <scalar>;
57 b <scalar>;
58 }
59 \endverbatim
60
61 where the entries mean:
62 \table
63 Property | Description | Type | Reqd | Deflt
64 type | Type name: exponential | word | yes | -
65 a | Pre-factor coefficient | scalar | no | 6309
66 b | Exponent coefficient | scalar | no | 2.52
67 \endtable
68
69SourceFiles
70 exponential.C
71
72\*---------------------------------------------------------------------------*/
73
74#ifndef exponential_H
75#define exponential_H
76
77#include "nucleateFluxModel.H"
78
79// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
80
81namespace Foam
82{
83namespace wallBoilingModels
84{
85namespace nucleateFluxModels
86{
87
88/*---------------------------------------------------------------------------*\
89 Class exponential Declaration
90\*---------------------------------------------------------------------------*/
91
92class exponential
93:
94 public nucleateFluxModel
95{
96 // Private Data
97
98 //- Pre-factor coefficient
99 scalar a_;
100
101 //- Exponent coefficient
102 scalar b_;
103
104
105 // Private Member Functions
106
107 //- No copy construct
108 exponential(const exponential&) = delete;
109
110 //- No copy assignment
111 void operator=(const exponential&) = delete;
112
113
114public:
116 //- Runtime type information
117 TypeName("exponential");
118
119
120 // Constructors
121
122 //- Construct from a dictionary
124
125
126 //- Destructor
127 virtual ~exponential() = default;
128
129
130 // Member Functions
131
132 //- Calculate and return the nucleation-site density
134 (
135 const phaseModel& liquid,
136 const phaseModel& vapor,
137 const label patchi,
138 const scalarField& Tl,
139 const scalarField& Tsatw,
141 ) const;
142
143 //- Write
144 virtual void write(Ostream& os) const;
145};
146
147
148// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
149
150} // End namespace nucleateFluxModels
151} // End namespace wallBoilingModels
152} // End namespace Foam
153
154// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
155
156#endif
157
158// ************************************************************************* //
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 nucleation flux models.
Nucleate flux sub-cooling correlation.
Definition: exponential.H:118
TypeName("exponential")
Runtime type information.
virtual tmp< scalarField > qNucleate(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: exponential.C:70
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"))