thermoSingleLayerI.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) 2011-2021 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 \*---------------------------------------------------------------------------*/
25 
26 #include "thermoSingleLayer.H"
27 #include "filmRadiationModel.H"
28 #include "heatTransferModel.H"
29 #include "phaseChangeModel.H"
30 
31 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
32 
33 namespace Foam
34 {
35 namespace regionModels
36 {
37 namespace surfaceFilmModels
38 {
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
43 {
44  return primaryThermo_;
45 }
46 
47 
49 {
50  return hSp_;
51 }
52 
53 
55 {
56  return hSpPrimary_;
57 }
58 
59 
61 {
62  return TPrimary_;
63 }
64 
65 
67 {
68  return YPrimary_;
69 }
70 
71 
73 {
74  return htcs_();
75 }
76 
77 
79 {
80  return htcw_();
81 }
82 
83 
85 {
86  return phaseChange_();
87 }
88 
89 
91 {
92  return radiation_();
93 }
94 
95 
96 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
97 
98 } // End namespace surfaceFilmModels
99 } // End namespace regionModels
100 } // End namespace Foam
101 
102 // ************************************************************************* //
autoPtr< heatTransferModel > htcw_
Heat transfer coefficient between wall and film [W/m^2/K].
const heatTransferModel & htcs() const
Return const access to the (surface) heat transfer model.
autoPtr< phaseChangeModel > phaseChange_
Phase change.
const volScalarField & hSpPrimary() const
Energy [J/m2/s].
volScalarField::Internal hSp_
Energy [J/m2/s].
autoPtr< heatTransferModel > htcs_
Heat transfer coefficient between film surface and primary.
Base class for surface film phase change models.
const volScalarField & TPrimary() const
Temperature [K].
Base-class for fluid thermodynamic properties.
Definition: fluidThermo.H:53
const fluidThermo & primaryThermo_
Reference to the primary region thermo.
const PtrList< volScalarField > & YPrimary() const
Specie mass fractions [0-1].
const radiationModel & radiation() const
Return const access to the radiation model.
const volScalarField::Internal & hSp() const
Energy [J/m2/s].
const phaseChangeModel & phaseChange() const
Return const access to the phase change model.
const heatTransferModel & htcw() const
Return const access to the (wall) heat transfer model.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Definition: List.H:70
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
PtrList< volScalarField > YPrimary_
List of specie mass fractions [0-1].
const fluidThermo & primaryThermo() const
Return const reference to the primary region thermo object.
Namespace for OpenFOAM.
Base class for film heat transfer models.