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-------------------------------------------------------------------------------
11License
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
33inline Foam::scalar Foam::solidProperties::rho() const
34{
35 return rho_;
36}
37
38
39inline Foam::scalar Foam::solidProperties::Cp() const
40{
41 return Cp_;
42}
43
44
45inline Foam::scalar Foam::solidProperties::kappa() const
46{
47 return kappa_;
48}
49
50
51inline Foam::scalar Foam::solidProperties::Hf() const
52{
53 return Hf_;
54}
55
56
57inline Foam::scalar Foam::solidProperties::Hs(const scalar T) const
58{
59 return Cp_*(T - Tstd);
60}
61
62
63inline Foam::scalar Foam::solidProperties::emissivity() const
64{
65 return emissivity_;
66}
67
68
69inline Foam::scalar Foam::solidProperties::W() const
70{
71 return W_;
72}
73
74
75inline Foam::scalar Foam::solidProperties::nu() const
76{
77 return nu_;
78}
79
80
81inline Foam::scalar Foam::solidProperties::E() const
82{
83 return E_;
84}
85
86
87// ************************************************************************* //
scalar Cp() const
Specific heat capacity [J/(kg.K)].
scalar kappa() const
Thermal conductivity [W/(m.K)].
scalar Hf() const
Heat of formation [J/kg].
scalar Hs(const scalar T) const
Sensible enthalpy - reference to Tstd [J/kg].
scalar E() const
Young modulus [N/m2].
scalar nu() const
Poissons.
scalar rho() const
Density [kg/m3].
scalar W() const
Molar weight [Kg/Kmol].
scalar emissivity() const
Emissivity [].
const volScalarField & T
const scalar Tstd
Standard temperature: default in [K].