OpenFOAM: API Guide
v2112
The open source CFD toolbox
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
-------------------------------------------------------------------------------
11
License
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
27
Class
28
Foam::wallBoilingModels::departureFrequencyModels::Cole
29
30
Description
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
43
Usage
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
59
SourceFiles
60
Cole.C
61
62
\*---------------------------------------------------------------------------*/
63
64
#ifndef Cole_H
65
#define Cole_H
66
67
#include "
departureFrequencyModel.H
"
68
69
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
70
71
namespace
Foam
72
{
73
namespace
wallBoilingModels
74
{
75
namespace
departureFrequencyModels
76
{
77
78
/*---------------------------------------------------------------------------*\
79
Class Cole Declaration
80
\*---------------------------------------------------------------------------*/
81
82
class
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
;
93
94
95
public
:
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
;
109
110
111
// Member Functions
112
113
//- Calculate and return the bubble departure frequency
114
virtual
tmp<scalarField>
fDeparture
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
// ************************************************************************* //
Foam::phaseModel
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition:
phaseModel.H:54
Foam::wallBoilingModels::departureFrequencyModel
Base class for bubble departure frequency models for boiling flows.
Definition:
departureFrequencyModel.H:57
Foam::tmp
A class for managing temporary objects.
Definition:
PtrList.H:61
Foam::wallBoilingModels::departureFrequencyModels::Cole::TypeName
TypeName("Cole")
Runtime type information.
Foam::liquid
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Definition:
liquid.H:54
Foam::wallBoilingModels::departureFrequencyModels::Cole::fDeparture
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
Foam::Field< scalar >
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
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::wallBoilingModels::departureFrequencyModels::Cole
A correlation for bubble departure frequency modelling based on Cole (1960) for boiling flows.
Definition:
Cole.H:93
departureFrequencyModel.H
Foam::wallBoilingModels::departureFrequencyModels::Cole::~Cole
virtual ~Cole()=default
Destructor.
src
phaseSystemModels
reactingEuler
multiphaseSystem
derivedFvPatchFields
wallBoilingSubModels
departureFrequencyModels
Cole
Cole.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.