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 -------------------------------------------------------------------------------
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::CHFModels::Tatsumoto
28 
29 Description
30  A critical heat flux (CHF) sub-cooling correlation model.
31 
32 Usage
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 
52 SourceFiles
53  Tatsumoto.C
54 
55 \*---------------------------------------------------------------------------*/
56 
57 #ifndef Tatsumoto_H
58 #define Tatsumoto_H
59 
60 #include "CHFSubCoolModel.H"
61 
62 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
63 
64 namespace Foam
65 {
66 namespace wallBoilingModels
67 {
68 namespace CHFModels
69 {
70 
71 /*---------------------------------------------------------------------------*\
72  Class Tatsumoto Declaration
73 \*---------------------------------------------------------------------------*/
74 
75 class 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;
92 
93 
94 public:
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
114  (
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 // ************************************************************************* //
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"))
Foam::wallBoilingModels::CHFSubCoolModel
Definition: CHFSubCoolModel.H:57
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::wallBoilingModels::CHFModels::Tatsumoto::CHFSubCool
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
Foam::wallBoilingModels::CHFModels::Tatsumoto::TypeName
TypeName("Tatsumoto")
Runtime type information.
Foam::liquid
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition: liquid.H:54
CHFSubCoolModel
Base class for critical heat flux (CHF) sub-cooling correlation models for boiling flows.
Foam::wallBoilingModels::CHFModels::Tatsumoto::write
virtual void write(Ostream &os) const
Write.
Definition: Tatsumoto.C:96
Foam::Field< scalar >
Foam::wallBoilingModels::CHFModels::Tatsumoto::~Tatsumoto
virtual ~Tatsumoto()=default
Destructor.
CHFSubCoolModel.H
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::CHFModels::Tatsumoto
A critical heat flux (CHF) sub-cooling correlation model.
Definition: Tatsumoto.H:92
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56