Skip to content
Snippets Groups Projects
Commit 3672dc7f authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MatL] Adsorption; Remove unused getSpecHeatCap().

getSpecificHeatCapacity()
parent 10762aa0
No related branches found
No related tags found
No related merge requests found
......@@ -72,19 +72,6 @@ double AdsorptionReaction::getEvaporationEnthalpy(double T_Ads) // in kJ/kg
}
// evaluate specific heat capacity of adsorbate follwing Nunez
double AdsorptionReaction::getSpecificHeatCapacity(const double T_Ads)
{
const double c[] = {4.224,-3.716e-3,9.351e-5,-7.1786e-7,-9.1266e-9,2.69247e-10,-2.773104e-12,1.553177e-14,-4.982795e-17,8.578e-20,-6.12423e-23};
double cp = 0.;
for (unsigned i = 0; i < sizeof(c) / sizeof(c[0]); i++)
{
cp += c[i] * pow(T_Ads, i);
}
return cp; // kJ/(kg*K)
}
double AdsorptionReaction::getMolarFraction(double xm, double M_this, double M_other)
{
return M_other*xm/(M_other*xm + M_this*(1.0-xm));
......
......@@ -23,7 +23,6 @@ public:
// TODO [CL] move those three methods to water properties class
static double getEvaporationEnthalpy(const double T_Ads);
static double getEquilibriumVapourPressure(const double T_Ads);
static double getSpecificHeatCapacity(const double T_Ads); // TODO [CL] why unused?
static double getMolarFraction(double xm, double M_this, double M_other);
static double dMolarFraction(double xm, double M_this, double M_other);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment