Tatsumoto.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::CHFModels::Tatsumoto
28
29Description
30 A critical heat flux (CHF) sub-cooling correlation model.
31
32Usage
33 Example of the model specification:
34 \verbatim
35 CHFSubCoolModel
36 {
37 // Mandatory entries
38 type Tatsumoto;
39
40 // Optional entries
41 K <scalar>;
42 }
43 \endverbatim
44
45 where the entries mean:
46 \table
47 Property | Description | Type | Reqd | Deflt
48 type | Type name: Tatsumoto | word | yes | -
49 K | Model coefficient | scalar | no | 0.23
50 \endtable
51
52SourceFiles
53 Tatsumoto.C
54
55\*---------------------------------------------------------------------------*/
56
57#ifndef Tatsumoto_H
58#define Tatsumoto_H
59
60#include "CHFSubCoolModel.H"
61
62// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
63
64namespace Foam
65{
66namespace wallBoilingModels
67{
68namespace CHFModels
69{
70
71/*---------------------------------------------------------------------------*\
72 Class Tatsumoto Declaration
73\*---------------------------------------------------------------------------*/
74
75class Tatsumoto
76:
77 public CHFSubCoolModel
78{
79 // Private Data
80
81 //- Model coefficient
82 scalar K_;
83
84
85 // Private Member Functions
86
87 //- No copy construct
88 Tatsumoto(const Tatsumoto&) = delete;
89
90 //- No copy assignment
91 void operator=(const Tatsumoto&) = delete;
93
94public:
95
96 //- Runtime type information
97 TypeName("Tatsumoto");
98
99
100 // Constructors
101
102 //- Construct from a dictionary
103 Tatsumoto(const dictionary& dict);
104
105
106 //- Destructor
107 virtual ~Tatsumoto() = default;
108
109
110 // Member Functions
111
112 //- Calculate and return the nucleation-site density
115 const phaseModel& liquid,
116 const phaseModel& vapor,
117 const label patchi,
118 const scalarField& Tl,
119 const scalarField& Tsatw,
120 const scalarField& L
121 ) const;
122
123 //- Write
124 virtual void write(Ostream& os) const;
125};
126
127
128// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
129
130} // End namespace CHFModels
131} // End namespace wallBoilingModels
132} // End namespace Foam
133
134// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
135
136#endif
137
138// ************************************************************************* //
Base class for critical heat flux (CHF) sub-cooling correlation models for boiling flows.
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
A critical heat flux (CHF) sub-cooling correlation model.
Definition: Tatsumoto.H:95
virtual tmp< scalarField > CHFSubCool(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: Tatsumoto.C:69
TypeName("Tatsumoto")
Runtime type information.
virtual ~Tatsumoto()=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"))