All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
noThermo.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-2019 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::regionModels::thermalBaffleModels::noThermo
26 
27 Description
28  Dummy surface model for 'none'
29 
30 SourceFiles
31  noThermo.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef noThermo_H
36 #define noThermo_H
37 
38 #include "thermalBaffleModel.H"
39 #include "volFieldsFwd.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 namespace regionModels
46 {
47 namespace thermalBaffleModels
48 {
49 
50 /*---------------------------------------------------------------------------*\
51  Class noThermo Declaration
52 \*---------------------------------------------------------------------------*/
53 
54 class noThermo
55 :
56  public thermalBaffleModel
57 {
58 protected:
59 
60  // Protected member functions
61 
62  //- Read control parameters from dictionary
63  virtual bool read();
64 
65 
66 public:
67 
68  //- Runtime type information
69  TypeName("none");
70 
71 
72  // Constructors
73 
74  //- Construct from type name and mesh
75  noThermo(const word& modelType, const fvMesh& mesh);
76 
77  //- Construct from components and dict
78  noThermo
79  (
80  const word& modelType,
81  const fvMesh& mesh,
82  const dictionary& dict
83  );
84 
85  //- Disallow default bitwise copy construction
86  noThermo(const noThermo&) = delete;
87 
88 
89  //- Destructor
90  virtual ~noThermo();
91 
92 
93  // Member Functions
94 
95 
96  // Thermo properties
97 
98  //- Return const reference to the solidThermo
99  virtual const solidThermo& thermo() const;
100 
101 
102  // Fields
103 
104  //- Return the film specific heat capacity [J/kg/K]
105  virtual const tmp<volScalarField> Cp() const;
106 
107  //- Return solid absorptivity [1/m]
108  virtual const volScalarField& kappaRad() const;
109 
110  //- Return the film mean temperature [K]
111  virtual const volScalarField& T() const;
112 
113  //- Return density [Kg/m^3]
114  virtual const volScalarField& rho() const;
115 
116  //- Return thermal conductivity [W/m/K]
117  virtual const volScalarField& kappa() const;
118 
119 
120  // Evolution
121 
122  //- Pre-evolve film
123  virtual void preEvolveRegion();
124 
125  //- Evolve the film equations
126  virtual void evolveRegion();
127 
128 
129  // Member Operators
130 
131  //- Disallow default bitwise assignment
132  void operator=(const noThermo&) = delete;
133 
134 };
135 
136 
137 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
138 
139 } // End namespace thermalBaffleModels
140 } // End namespace regionModels
141 } // End namespace Foam
142 
143 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
144 
145 #endif
146 
147 // ************************************************************************* //
noThermo(const word &modelType, const fvMesh &mesh)
Construct from type name and mesh.
Definition: noThermo.C:56
dictionary dict
virtual void preEvolveRegion()
Pre-evolve film.
Definition: noThermo.C:80
TypeName("none")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:158
virtual const volScalarField & kappa() const
Return thermal conductivity [W/m/K].
Definition: noThermo.C:123
dynamicFvMesh & mesh
virtual const solidThermo & thermo() const
Return const reference to the solidThermo.
Definition: noThermo.C:141
A class for handling words, derived from string.
Definition: word.H:59
void operator=(const noThermo &)=delete
Disallow default bitwise assignment.
virtual const volScalarField & rho() const
Return density [Kg/m^3].
Definition: noThermo.C:114
Fundamental solid thermodynamic properties.
Definition: solidThermo.H:48
virtual void evolveRegion()
Evolve the film equations.
Definition: noThermo.C:84
virtual const tmp< volScalarField > Cp() const
Return the film specific heat capacity [J/kg/K].
Definition: noThermo.C:88
Dummy surface model for &#39;none&#39;.
Definition: noThermo.H:53
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:78
virtual bool read()
Read control parameters from dictionary.
Definition: noThermo.C:48
A class for managing temporary objects.
Definition: PtrList.H:53
virtual const volScalarField & T() const
Return the film mean temperature [K].
Definition: noThermo.C:132
Namespace for OpenFOAM.
virtual const volScalarField & kappaRad() const
Return solid absorptivity [1/m].
Definition: noThermo.C:105