OneResistanceHeatTransferPhaseSystem.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2015-2023 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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
19  for more details.
20 
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/>.
23 
24 Class
25  Foam::OneResistanceHeatTransferPhaseSystem
26 
27 Description
28  Class which models interfacial heat transfer between a number of phases. A
29  single heat transfer model is used for each interface.
30 
31 See also
32  TwoResistanceHeatTransferPhaseSystem
33 
34 SourceFiles
35  OneResistanceHeatTransferPhaseSystem.C
36 
37 \*---------------------------------------------------------------------------*/
38 
39 #ifndef OneResistanceHeatTransferPhaseSystem_H
40 #define OneResistanceHeatTransferPhaseSystem_H
41 
43 
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 
46 namespace Foam
47 {
48 
49 class blendedHeatTransferModel;
50 
51 /*---------------------------------------------------------------------------*\
52  Class OneResistanceHeatTransferPhaseSystem Declaration
53 \*---------------------------------------------------------------------------*/
54 
55 template<class BasePhaseSystem>
57 :
58  public HeatTransferPhaseSystem<BasePhaseSystem>
59 {
60 protected:
61 
62  // Protected typedefs
63 
64  typedef HashTable
65  <
70 
71 
72  // Protected data
73 
74  // Sub Models
75 
76  //- Heat transfer models
78 
79 
80 public:
81 
82  // Constructors
83 
84  //- Construct from fvMesh
86 
87 
88  //- Destructor
90 
91 
92  // Member Functions
93 
94  //- Return the heat transfer matrices
96 
97  //- Read base phaseProperties dictionary
98  virtual bool read();
99 };
100 
101 
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
103 
104 } // End namespace Foam
105 
106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107 
108 #ifdef NoRepository
110 #endif
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 #endif
115 
116 // ************************************************************************* //
An STL-conforming hash table.
Definition: HashTable.H:127
Class which models interfacial heat transfer between a number of phases. A single heat transfer model...
HashTable< autoPtr< blendedHeatTransferModel >, phaseInterfaceKey, phaseInterfaceKey::hash > heatTransferModelTable
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
heatTransferModelTable heatTransferModels_
Heat transfer models.
OneResistanceHeatTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
virtual bool read()
Read base phaseProperties dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: autoPtr.H:51
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:101
Word-pair based class used for keying interface models in hash tables.
Namespace for OpenFOAM.