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-2018 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 
42 #include "phaseSystem.H"
43 
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 
46 namespace Foam
47 {
48 
49 class blendingMethod;
50 template<class modelType> class BlendedInterfacialModel;
51 class heatTransferModel;
52 
53 /*---------------------------------------------------------------------------*\
54  Class OneResistanceHeatTransferPhaseSystem Declaration
55 \*---------------------------------------------------------------------------*/
56 
57 template<class BasePhaseSystem>
59 :
60  public BasePhaseSystem
61 {
62 protected:
63 
64  // Protected typedefs
65 
66  typedef HashTable
67  <
72 
73 
74  // Protected data
75 
76  // Sub Models
77 
78  //- Heat transfer models
79  heatTransferModelTable heatTransferModels_;
80 
81 
82 public:
83 
84  // Constructors
85 
86  //- Construct from fvMesh
88 
89 
90  //- Destructor
92 
93 
94  // Member Functions
95 
96  //- Return the heat transfer matrices
98 
99  //- Read base phaseProperties dictionary
100  virtual bool read();
101 };
102 
103 
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 
106 } // End namespace Foam
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 #ifdef NoRepository
112 #endif
113 
114 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115 
116 #endif
117 
118 // ************************************************************************* //
OneResistanceHeatTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
Class which models interfacial heat transfer between a number of phases. A single heat transfer model...
heatTransferModelTable heatTransferModels_
Heat transfer models.
An STL-conforming hash table.
Definition: HashTable.H:62
virtual autoPtr< phaseSystem::heatTransferTable > heatTransfer() const
Return the heat transfer matrices.
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:78
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
virtual bool read()
Read base phaseProperties dictionary.
Namespace for OpenFOAM.
virtual ~OneResistanceHeatTransferPhaseSystem()
Destructor.
HashTable< autoPtr< BlendedInterfacialModel< heatTransferModel > >, phasePairKey, phasePairKey::hash > heatTransferModelTable