1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM is free software: you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 Foam::constantHeatTransfer
28 Constant heat transfer model
31 constantHeatTransfer.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef constantHeatTransfer_H
36 #define constantHeatTransfer_H
38 #include "heatTransferModel.H"
39 #include "volFieldsFwd.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 namespace regionModels
47 namespace surfaceFilmModels
50 /*---------------------------------------------------------------------------*\
51 Class constantHeatTransfer Declaration
52 \*---------------------------------------------------------------------------*/
54 class constantHeatTransfer
56 public heatTransferModel
62 //- Constant heat transfer coefficient [W/m2/K]
66 // Private member functions
68 //- Disallow default bitwise copy construct
69 constantHeatTransfer(const constantHeatTransfer&);
71 //- Disallow default bitwise assignment
72 void operator=(const constantHeatTransfer&);
77 //- Runtime type information
83 //- Construct from surface film model and dictionary
86 const surfaceFilmModel& owner,
87 const dictionary& dict
92 virtual ~constantHeatTransfer();
100 virtual void correct();
102 //- Return the heat transfer coefficient [W/m2/K]
103 virtual tmp<volScalarField> h() const;
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 } // End namespace surfaceFilmModels
110 } // End namespace regionModels
111 } // End namespace Foam
113 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 // ************************************************************************* //