Cole.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) 2016-2018 OpenFOAM Foundation
9 Copyright (C) 2021 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27Class
28 Foam::wallBoilingModels::departureFrequencyModels::Cole
29
30Description
31 A correlation for bubble departure frequency modelling
32 based on Cole (1960) for boiling flows.
33
34 Reference:
35 \verbatim
36 Cole, R. (1960).
37 A photographic study of pool boiling
38 in the region of the critical heat flux.
39 AIChE Journal, 6(4), 533-538.
40 DOI:10.1002/aic.690060405
41 \endverbatim
42
43Usage
44 Example of the model specification:
45 \verbatim
46 departureFrequencyModel
47 {
48 // Mandatory entries
49 type Cole;
50 }
51 \endverbatim
52
53 where the entries mean:
54 \table
55 Property | Description | Type | Reqd | Deflt
56 type | Type name: Cole | word | yes | -
57 \endtable
58
59SourceFiles
60 Cole.C
61
62\*---------------------------------------------------------------------------*/
63
64#ifndef Cole_H
65#define Cole_H
66
68
69// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
70
71namespace Foam
72{
73namespace wallBoilingModels
74{
75namespace departureFrequencyModels
76{
77
78/*---------------------------------------------------------------------------*\
79 Class Cole Declaration
80\*---------------------------------------------------------------------------*/
81
82class Cole
83:
84 public departureFrequencyModel
85{
86 // Private Member Functions
87
88 //- No copy construct
89 Cole(const Cole&) = delete;
90
91 //- No copy assignment
92 void operator=(const Cole&) = delete;
94
95public:
96
97 //- Runtime type information
98 TypeName("Cole");
99
100
101 // Constructors
102
103 //- Construct from a dictionary
104 Cole(const dictionary& dict);
105
106
107 //- Destructor
108 virtual ~Cole() = default;
110
111 // Member Functions
112
113 //- Calculate and return the bubble departure frequency
115 (
116 const phaseModel& liquid,
117 const phaseModel& vapor,
118 const label patchi,
119 const scalarField& dDep
120 ) const;
121};
122
123
124// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
125
126} // End namespace departureFrequencyModels
127} // End namespace wallBoilingModels
128} // End namespace Foam
129
130// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
131
132#endif
133
134// ************************************************************************* //
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 bubble departure frequency models for boiling flows.
A correlation for bubble departure frequency modelling based on Cole (1960) for boiling flows.
Definition: Cole.H:96
virtual tmp< scalarField > fDeparture(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &dDep) const
Calculate and return the bubble departure frequency.
Definition: Cole.C:70
Namespace for OpenFOAM.
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73