thermophysicalModels: Removed redundant H function
This commit is contained in:
parent
2780df8365
commit
e30b94b385
@ -173,9 +173,6 @@ 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;
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
return Cp_*(T - specie::Tstd);
|
||||
|
@ -217,9 +217,6 @@ public:
|
||||
//- Enthalpy/Internal energy [J/kg]
|
||||
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]
|
||||
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>
|
||||
inline Foam::scalar
|
||||
Foam::species::thermo<Thermo, Type>::Hs(const scalar p, const scalar T) const
|
||||
|
Loading…
Reference in New Issue
Block a user