mappedConvectiveHeatTransfer.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) 2011-2017 OpenFOAM Foundation
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::regionModels::surfaceFilmModels::mappedConvectiveHeatTransfer
28
29Description
30 Convective heat transfer model based on a re-working of a Nusselt number
31 correlation
32
33SourceFiles
34 mappedConvectiveHeatTransfer.C
35
36\*---------------------------------------------------------------------------*/
37
38#ifndef mappedConvectiveHeatTransfer_H
39#define mappedConvectiveHeatTransfer_H
40
41#include "heatTransferModel.H"
42#include "volFields.H"
43
44// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46namespace Foam
47{
48namespace regionModels
49{
50namespace surfaceFilmModels
51{
52
53/*---------------------------------------------------------------------------*\
54 Class mappedConvectiveHeatTransfer Declaration
55\*---------------------------------------------------------------------------*/
58:
60{
61private:
62
63 // Private data
64
65 //- Heat transfer coefficient - primary region [W/m2/K]
66 volScalarField htcConvPrimary_;
67
68 //- Heat transfer coefficient - film region [W/m2/K]
69 // Assumes that the primary region to film region boundaries are
70 // described as mappedPushed types
71 volScalarField htcConvFilm_;
72
73
74 // Private member functions
75
76 //- No copy construct
78 (
80 ) = delete;
81
82 //- No copy assignment
83 void operator=(const mappedConvectiveHeatTransfer&) = delete;
84
85
86public:
87
88 //- Runtime type information
89 TypeName("mappedConvectiveHeatTransfer");
90
91
92 // Constructors
93
94 //- Construct from surface film model and dictionary
96 (
98 const dictionary& dict
99 );
100
101
102 //- Destructor
104
105
106 // Member Functions
107
108 // Evolution
109
110 //- Correct
111 virtual void correct();
112
113 //- Return the heat transfer coefficient [W/m2/K]
114 virtual tmp<volScalarField> h() const;
115};
116
117
118// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119
120} // End namespace surfaceFilmModels
121} // End namespace regionModels
122} // End namespace Foam
123
124// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
125
126#endif
127
128// ************************************************************************* //
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
Base class for film heat transfer models.
Convective heat transfer model based on a re-working of a Nusselt number correlation.
virtual tmp< volScalarField > h() const
Return the heat transfer coefficient [W/m2/K].
TypeName("mappedConvectiveHeatTransfer")
Runtime type information.
const dictionary & dict() const
Return const access to the cloud dictionary.
Definition: subModelBase.C:113
A class for managing temporary objects.
Definition: tmp.H:65
Namespace for OpenFOAM.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73