Skip to content

Commit

Permalink
Clean up unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
corykinney committed Jan 10, 2023
1 parent f84d3b3 commit 2baf401
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/thermo/PengRobinson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -633,10 +633,8 @@ double PengRobinson::dpdVCalc(double T, double molarVol, double& presCalc) const
double PengRobinson::isothermalCompressibility() const
{
double P = pressure();
double mv = molarVolume();
double T = temperature();
double RT_ = RT();
double Z = P * mv / RT_;
double Z = z();

double A = m_aAlpha_mix * P / (RT_ * RT_);
double B = m_b * P / RT_;
Expand All @@ -652,10 +650,9 @@ double PengRobinson::isothermalCompressibility() const
double PengRobinson::thermalExpansionCoeff() const
{
double P = pressure();
double mv = molarVolume();
double T = temperature();
double RT_ = RT();
double Z = P * mv / RT_;
double Z = z();

double A = m_aAlpha_mix * P / (RT_ * RT_);
double B = m_b * P / RT_;
Expand Down

0 comments on commit 2baf401

Please sign in to comment.