Skip to content
Snippets Groups Projects
Commit 6aa48fe1 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Added Hs(T) and H(T) functions to solids

parent 851d0422
No related branches found
No related tags found
No related merge requests found
EXE_INC = \
-I${LIB_SRC}/thermophysicalModels/solids/lnInclude
-I${LIB_SRC}/thermophysicalModels/solids/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude
EXE_INC =
EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude
......@@ -173,6 +173,12 @@ public:
//- Heat of formation [J/kg]
inline scalar Hf() const;
//- Total enthalpy - reference to Tstd [J/kg]
inline scalar H(const scalar T) const;
//- Sensible enthalpy - reference to Tstd [J/kg]
inline scalar Hs(const scalar T) const;
//- Emissivity []
inline scalar emissivity() const;
......@@ -191,11 +197,11 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "solidI.H"
} // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
#include "solidI.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -23,6 +23,8 @@ License
\*---------------------------------------------------------------------------*/
#include "specie.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
inline Foam::scalar Foam::solid::rho() const
......@@ -49,6 +51,18 @@ inline Foam::scalar Foam::solid::Hf() const
}
inline Foam::scalar Foam::solid::H(const scalar T) const
{
return Hs(T) + Hf_;
}
inline Foam::scalar Foam::solid::Hs(const scalar T) const
{
return Cp_*(T - specie::Tstd);
}
inline Foam::scalar Foam::solid::emissivity() const
{
return emissivity_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment