HuaXu.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 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:::HuaXu
28 
29 Description
30 
31  Critical heat flux for soob cool boiling flows.
32 
33  References:
34  \verbatim
35  T.C. Hua, J.J. Xu, Quenching boiling in subcooled liquid nitrogen
36  for solidification of aqueous materials, Mater.
37  Sci. Eng. A 292 (2000) 169–172.
38  \endverbatim
39 
40 SourceFiles
41  HuaXu.C
42 
43 \*---------------------------------------------------------------------------*/
44 
45 #ifndef HuaXu_H
46 #define HuaXu_H
47 
48 #include "CHFSubCoolModel.H"
49 
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 
52 namespace Foam
53 {
54 namespace wallBoilingModels
55 {
56 namespace CHFModels
57 {
58 
59 /*---------------------------------------------------------------------------*\
60  Class HuaXu Declaration
61 \*---------------------------------------------------------------------------*/
62 
63 class HuaXu
64 :
65  public CHFSubCoolModel
66 {
67 
68  // Private data:
69 
70  //- Burn out factor
71  scalar Kburn_;
72 
73 public:
74 
75  //- Runtime type information
76  TypeName("HuaXu");
77 
78  // Constructors
79 
80  //- Construct from a dictionary
81  HuaXu(const dictionary& dict);
82 
83 
84  //- Destructor
85  virtual ~HuaXu();
86 
87 
88  // Member Functions
89 
90  //- Calculate and return the nucleation-site density
92  (
93  const phaseModel& liquid,
94  const phaseModel& vapor,
95  const label patchi,
96  const scalarField& Tl,
97  const scalarField& Tsatw,
98  const scalarField& L
99  ) const;
100 
101 
102  virtual void write(Ostream& os) const;
103 };
104 
105 
106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107 
108 } // End namespace CHFModels
109 } // End namespace wallBoilingModels
110 } // End namespace Foam
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 #endif
115 
116 // ************************************************************************* //
Foam::phaseModel
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:57
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:59
Foam::wallBoilingModels::CHFModels::HuaXu::write
virtual void write(Ostream &os) const
Definition: HuaXu.C:124
wallBoilingModels
Critical heat flux (CHF) correlation.
Foam::wallBoilingModels::CHFModels::HuaXu::~HuaXu
virtual ~HuaXu()
Destructor.
Definition: HuaXu.C:68
Foam::Field< scalar >
Foam::wallBoilingModels::CHFModels::HuaXu::TypeName
TypeName("HuaXu")
Runtime type information.
CHFSubCoolModel.H
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::wallBoilingModels::CHFModels::HuaXu::HuaXu
HuaXu(const dictionary &dict)
Construct from a dictionary.
Definition: HuaXu.C:57
Foam::wallBoilingModels::CHFModels::HuaXu
Definition: HuaXu.H:62
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:121
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::CHFModels::HuaXu::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: HuaXu.C:76
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56