Shirai.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::TDNBModels::Shirai
28
29Description
30 Temperature of departure from nulceate boiling correlation.
31
32 References:
33 \verbatim
34 Shirai, Y., Tatsumoto, H., Shiotsu, M., Hata, K.,
35 Kobayashi, H., Naruo, Y., & Inatani, Y. (2010).
36 Boiling heat transfer from a horizontal flat
37 plate in a pool of liquid hydrogen.
38 Cryogenics, 50(6-7), 410-416.
39 DOI:10.1016/j.cryogenics.2010.04.001
40 \endverbatim
41
42Usage
43 Example of the model specification:
44 \verbatim
45 TDNBModel
46 {
47 // Mandatory entries
48 type Shirai;
49 Tc <scalar>;
50 Pc <scalar>;
51 }
52 \endverbatim
53
54 where the entries mean:
55 \table
56 Property | Description | Type | Reqd | Deflt
57 type | Type name: Shirai | word | yes | -
58 Tc | Critical temperature | scalar | yes | -
59 Pc | Critical pressure | scalar | yes | -
60 \endtable
61
62Note
63 - Correlation based on fiting data from Fig 11 from above references.
64 - Suitable for liquid Helium, Nitrogen, Oxygen and Hydrogen.
65
66SourceFiles
67 Shirai.C
68
69\*---------------------------------------------------------------------------*/
70
71#ifndef Shirai_H
72#define Shirai_H
73
74#include "TDNBModel.H"
75
76// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
77
78namespace Foam
79{
80namespace wallBoilingModels
81{
82namespace TDNBModels
83{
84
85/*---------------------------------------------------------------------------*\
86 Class Shirai Declaration
87\*---------------------------------------------------------------------------*/
88
89class Shirai
90:
91 public TDNBModel
92{
93 // Private Data
94
95 //- Critical temperature
96 scalar Tc_;
97
98 //- Critical pressure
99 scalar Pc_;
100
101
102 // Private Member Functions
103
104 //- No copy construct
105 Shirai(const Shirai&) = delete;
106
107 //- No copy assignment
108 void operator=(const Shirai&) = delete;
109
110
111public:
113 //- Runtime type information
114 TypeName("Shirai");
115
116
117 // Constructors
118
119 //- Construct from a dictionary
120 Shirai(const dictionary& dict);
121
122
123 //- Destructor
124 virtual ~Shirai() = default;
125
126
127 // Member Functions
128
129 //- Calculate and return the nucleation-site density
130 virtual tmp<scalarField> TDNB
131 (
132 const phaseModel& liquid,
133 const phaseModel& vapor,
134 const label patchi,
135 const scalarField& Tl,
136 const scalarField& Tsatw,
138 ) const;
139
140 //- Write
141 virtual void write(Ostream& os) const;
142};
143
144
145// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
146
147} // End namespace TDNBModels
148} // End namespace wallBoilingModels
149} // End namespace Foam
150
151// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
152
153#endif
154
155// ************************************************************************* //
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 departure from nucleation boiling models.
Definition: TDNBModel.H:57
Temperature of departure from nulceate boiling correlation.
Definition: Shirai.H:115
TypeName("Shirai")
Runtime type information.
virtual tmp< scalarField > TDNB(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: Shirai.C:67
virtual ~Shirai()=default
Destructor.
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"))