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