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 -------------------------------------------------------------------------------
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::OneResistanceHeatTransferPhaseSystem
28 
29 Description
30  Class which models interfacial heat transfer between a number of phases. A
31  single heat transfer model is used for each interface.
32 
33 See also
34  TwoResistanceHeatTransferPhaseSystem
35 
36 SourceFiles
37  OneResistanceHeatTransferPhaseSystem.C
38 
39 \*---------------------------------------------------------------------------*/
40 
41 #ifndef OneResistanceHeatTransferPhaseSystem_H
42 #define OneResistanceHeatTransferPhaseSystem_H
43 
44 #include "phaseSystem.H"
45 
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 
48 namespace Foam
49 {
50 
51 class blendingMethod;
52 template<class modelType> class BlendedInterfacialModel;
53 class heatTransferModel;
54 
55 /*---------------------------------------------------------------------------*\
56  Class OneResistanceHeatTransferPhaseSystem Declaration
57 \*---------------------------------------------------------------------------*/
58 
59 template<class BasePhaseSystem>
61 :
62  public BasePhaseSystem
63 {
64 protected:
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 
84 public:
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 // ************************************************************************* //
Foam::OneResistanceHeatTransferPhaseSystem::heatTransfer
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
Definition: OneResistanceHeatTransferPhaseSystem.C:64
Foam::OneResistanceHeatTransferPhaseSystem::read
virtual bool read()
Read base phaseProperties dictionary.
Definition: OneResistanceHeatTransferPhaseSystem.C:154
Foam::phasePairKey::hasher
Hashing functor for phasePairKey.
Definition: phasePairKey.H:122
Foam::OneResistanceHeatTransferPhaseSystem::OneResistanceHeatTransferPhaseSystem
OneResistanceHeatTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
Definition: OneResistanceHeatTransferPhaseSystem.C:36
Foam::OneResistanceHeatTransferPhaseSystem::heatTransferModelTable
HashTable< autoPtr< BlendedInterfacialModel< heatTransferModel > >, phasePairKey, phasePairKey::hash > heatTransferModelTable
Definition: OneResistanceHeatTransferPhaseSystem.H:72
Foam::OneResistanceHeatTransferPhaseSystem::~OneResistanceHeatTransferPhaseSystem
virtual ~OneResistanceHeatTransferPhaseSystem()
Destructor.
Definition: OneResistanceHeatTransferPhaseSystem.C:55
Foam::OneResistanceHeatTransferPhaseSystem
Class which models interfacial heat transfer between a number of phases. A single heat transfer model...
Definition: OneResistanceHeatTransferPhaseSystem.H:59
OneResistanceHeatTransferPhaseSystem.C
Foam::OneResistanceHeatTransferPhaseSystem::heatTransferModels_
heatTransferModelTable heatTransferModels_
Heat transfer models.
Definition: OneResistanceHeatTransferPhaseSystem.H:80
Foam::phasePairKey
An ordered or unorder pair of phase names. Typically specified as follows.
Definition: phasePairKey.H:65
Foam::fvMesh
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:85
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::HashTable
A HashTable similar to std::unordered_map.
Definition: HashTable.H:105
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: HashPtrTable.H:53