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 -------------------------------------------------------------------------------
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::regionModels::surfaceFilmModels::mappedConvectiveHeatTransfer
28 
29 Description
30  Convective heat transfer model based on a re-working of a Nusselt number
31  correlation
32 
33 SourceFiles
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 
46 namespace Foam
47 {
48 namespace regionModels
49 {
50 namespace surfaceFilmModels
51 {
52 
53 /*---------------------------------------------------------------------------*\
54  Class mappedConvectiveHeatTransfer Declaration
55 \*---------------------------------------------------------------------------*/
56 
58 :
59  public heatTransferModel
60 {
61 private:
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 
86 public:
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 // ************************************************************************* //
volFields.H
Foam::regionModels::surfaceFilmModels::heatTransferModel
Base class for film heat transfer models.
Definition: heatTransferModel.H:56
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::regionModels::surfaceFilmModels::filmSubModelBase::film
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
Definition: filmSubModelBaseI.H:39
Foam::regionModels::surfaceFilmModels::surfaceFilmRegionModel
Base class for surface film models.
Definition: surfaceFilmRegionModel.H:55
Foam::subModelBase::dict
const dictionary & dict() const
Return const access to the cloud dictionary.
Definition: subModelBase.C:113
Foam::regionModels::surfaceFilmModels::mappedConvectiveHeatTransfer
Convective heat transfer model based on a re-working of a Nusselt number correlation.
Definition: mappedConvectiveHeatTransfer.H:56
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam::regionModels::surfaceFilmModels::mappedConvectiveHeatTransfer::TypeName
TypeName("mappedConvectiveHeatTransfer")
Runtime type information.
Foam::regionModels::surfaceFilmModels::mappedConvectiveHeatTransfer::~mappedConvectiveHeatTransfer
virtual ~mappedConvectiveHeatTransfer()
Destructor.
Definition: mappedConvectiveHeatTransfer.C:99
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::regionModels::surfaceFilmModels::mappedConvectiveHeatTransfer::h
virtual tmp< volScalarField > h() const
Return the heat transfer coefficient [W/m2/K].
Definition: mappedConvectiveHeatTransfer.C:115
Foam::regionModels::surfaceFilmModels::mappedConvectiveHeatTransfer::correct
virtual void correct()
Correct.
Definition: mappedConvectiveHeatTransfer.C:105
Foam::GeometricField< scalar, fvPatchField, volMesh >