OneResistanceHeatTransferPhaseSystem.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) 2015-2018 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::OneResistanceHeatTransferPhaseSystem
28
29Description
30 Class which models interfacial heat transfer between a number of phases. A
31 single heat transfer model is used for each interface.
32
33See also
34 TwoResistanceHeatTransferPhaseSystem
35
36SourceFiles
37 OneResistanceHeatTransferPhaseSystem.C
38
39\*---------------------------------------------------------------------------*/
40
41#ifndef OneResistanceHeatTransferPhaseSystem_H
42#define OneResistanceHeatTransferPhaseSystem_H
43
44#include "phaseSystem.H"
45
46// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47
48namespace Foam
49{
50
51class blendingMethod;
52template<class modelType> class BlendedInterfacialModel;
53class heatTransferModel;
54
55/*---------------------------------------------------------------------------*\
56 Class OneResistanceHeatTransferPhaseSystem Declaration
57\*---------------------------------------------------------------------------*/
58
59template<class BasePhaseSystem>
61:
62 public BasePhaseSystem
63{
64protected:
65
66 // Protected typedefs
67
68 typedef HashTable
69 <
74
75
76 // Protected data
77
78 // Sub Models
79
80 //- Heat transfer models
82
83
84public:
85
86 // Constructors
87
88 //- Construct from fvMesh
90
91
92 //- Destructor
94
95
96 // Member Functions
97
98 //- Return the heat transfer matrices
100
101 //- Read base phaseProperties dictionary
102 virtual bool read();
103};
104
105
106// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107
108} // End namespace Foam
109
110// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111
112#ifdef NoRepository
114#endif
115
116// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117
118#endif
119
120// ************************************************************************* //
A HashTable similar to std::unordered_map.
Definition: HashTable.H:123
Class which models interfacial heat transfer between a number of phases. A single heat transfer model...
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
HashTable< autoPtr< BlendedInterfacialModel< heatTransferModel > >, phasePairKey, phasePairKey::hash > heatTransferModelTable
heatTransferModelTable heatTransferModels_
Heat transfer models.
virtual bool read()
Read base phaseProperties dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: autoPtr.H:66
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:91
An ordered or unorder pair of phase names. Typically specified as follows.
Definition: phasePairKey.H:68
Namespace for OpenFOAM.
Hashing functor for phasePairKey.
Definition: phasePairKey.H:123