solidPropertiesI.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-2017 OpenFOAM Foundation
9  Copyright (C) 2018-2019 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 \*---------------------------------------------------------------------------*/
28 
29 #include "specie.H"
30 
31 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
32 
33 inline Foam::scalar Foam::solidProperties::rho() const
34 {
35  return rho_;
36 }
37 
38 
39 inline Foam::scalar Foam::solidProperties::Cp() const
40 {
41  return Cp_;
42 }
43 
44 
45 inline Foam::scalar Foam::solidProperties::kappa() const
46 {
47  return kappa_;
48 }
49 
50 
51 inline Foam::scalar Foam::solidProperties::Hf() const
52 {
53  return Hf_;
54 }
55 
56 
57 inline Foam::scalar Foam::solidProperties::Hs(const scalar T) const
58 {
59  return Cp_*(T - Tstd);
60 }
61 
62 
63 inline Foam::scalar Foam::solidProperties::emissivity() const
64 {
65  return emissivity_;
66 }
67 
68 
69 inline Foam::scalar Foam::solidProperties::W() const
70 {
71  return W_;
72 }
73 
74 
75 inline Foam::scalar Foam::solidProperties::nu() const
76 {
77  return nu_;
78 }
79 
80 
81 inline Foam::scalar Foam::solidProperties::E() const
82 {
83  return E_;
84 }
85 
86 
87 // ************************************************************************* //
Foam::solidProperties::Hf
scalar Hf() const
Heat of formation [J/kg].
Definition: solidPropertiesI.H:51
Foam::solidProperties::emissivity
scalar emissivity() const
Emissivity [].
Definition: solidPropertiesI.H:63
Foam::solidProperties::rho
scalar rho() const
Density [kg/m3].
Definition: solidPropertiesI.H:33
Foam::constant::standard::Tstd
const dimensionedScalar Tstd
Standard temperature.
Definition: thermodynamicConstants.C:49
specie.H
Foam::solidProperties::E
scalar E() const
Young modulus [N/m2].
Definition: solidPropertiesI.H:81
Foam::solidProperties::nu
scalar nu() const
Poissons.
Definition: solidPropertiesI.H:75
Foam::solidProperties::Hs
scalar Hs(const scalar T) const
Sensible enthalpy - reference to Tstd [J/kg].
Definition: solidPropertiesI.H:57
Foam::T
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Definition: FieldFieldFunctions.C:58
Foam::solidProperties::kappa
scalar kappa() const
Thermal conductivity [W/(m.K)].
Definition: solidPropertiesI.H:45
Foam::solidProperties::W
scalar W() const
Molar weight [Kg/Kmol].
Definition: solidPropertiesI.H:69
Foam::solidProperties::Cp
scalar Cp() const
Specific heat capacity [J/(kg.K)].
Definition: solidPropertiesI.H:39