mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
thermophysicalModels: Removed redundant H function
This commit is contained in:
@ -173,9 +173,6 @@ public:
|
|||||||
//- Heat of formation [J/kg]
|
//- Heat of formation [J/kg]
|
||||||
inline scalar Hf() const;
|
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]
|
//- Sensible enthalpy - reference to Tstd [J/kg]
|
||||||
inline scalar Hs(const scalar T) const;
|
inline scalar Hs(const scalar T) const;
|
||||||
|
|
||||||
|
|||||||
@ -51,12 +51,6 @@ inline Foam::scalar Foam::solidProperties::Hf() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline Foam::scalar Foam::solidProperties::H(const scalar T) const
|
|
||||||
{
|
|
||||||
return Hs(T) + Hf_;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
inline Foam::scalar Foam::solidProperties::Hs(const scalar T) const
|
inline Foam::scalar Foam::solidProperties::Hs(const scalar T) const
|
||||||
{
|
{
|
||||||
return Cp_*(T - specie::Tstd);
|
return Cp_*(T - specie::Tstd);
|
||||||
|
|||||||
@ -217,9 +217,6 @@ public:
|
|||||||
//- Enthalpy/Internal energy [J/kg]
|
//- Enthalpy/Internal energy [J/kg]
|
||||||
inline scalar HE(const scalar p, const scalar T) const;
|
inline scalar HE(const scalar p, const scalar T) const;
|
||||||
|
|
||||||
//- Enthalpy [J/kg]
|
|
||||||
inline scalar H(const scalar p, const scalar T) const;
|
|
||||||
|
|
||||||
//- Sensible enthalpy [J/kg]
|
//- Sensible enthalpy [J/kg]
|
||||||
inline scalar Hs(const scalar p, const scalar T) const;
|
inline scalar Hs(const scalar p, const scalar T) const;
|
||||||
|
|
||||||
|
|||||||
@ -215,14 +215,6 @@ Foam::species::thermo<Thermo, Type>::HE(const scalar p, const scalar T) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Thermo, template<class> class Type>
|
|
||||||
inline Foam::scalar
|
|
||||||
Foam::species::thermo<Thermo, Type>::H(const scalar p, const scalar T) const
|
|
||||||
{
|
|
||||||
return this->h(p, T)/this->W();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Thermo, template<class> class Type>
|
template<class Thermo, template<class> class Type>
|
||||||
inline Foam::scalar
|
inline Foam::scalar
|
||||||
Foam::species::thermo<Thermo, Type>::Hs(const scalar p, const scalar T) const
|
Foam::species::thermo<Thermo, Type>::Hs(const scalar p, const scalar T) const
|
||||||
|
|||||||
Reference in New Issue
Block a user