Took out unused variables.
This commit is contained in:
parent
5c3aa77dbb
commit
b479220927
4 changed files with 7 additions and 3 deletions
|
|
@ -256,7 +256,7 @@ double CarbonDioxide::up() {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
double CarbonDioxide::sp() {
|
double CarbonDioxide::sp() {
|
||||||
double Tinverse = 1.0/T;
|
//double Tinverse = 1.0/T;
|
||||||
double T2inverse = pow(T, -2);
|
double T2inverse = pow(T, -2);
|
||||||
double T3inverse = pow(T, -3);
|
double T3inverse = pow(T, -3);
|
||||||
double T4inverse = pow(T, -4);
|
double T4inverse = pow(T, -4);
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
#/bin/sh
|
#/bin/sh
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
.SUFFIXES :
|
.SUFFIXES :
|
||||||
.SUFFIXES : .cpp .d .o
|
.SUFFIXES : .cpp .d .o
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ namespace tpx {
|
||||||
double RedlichKwong::sp() {
|
double RedlichKwong::sp() {
|
||||||
const double Pref = 101325.0;
|
const double Pref = 101325.0;
|
||||||
double rgas = 8314.3/m_mw;
|
double rgas = 8314.3/m_mw;
|
||||||
double ss = rgas*(log(Pref/(Rho*rgas*T)));
|
//double ss = rgas*(log(Pref/(Rho*rgas*T)));
|
||||||
double sr = sresid();
|
double sr = sresid();
|
||||||
double p = Pp();
|
double p = Pp();
|
||||||
double s = rgas*(log(Pref/p)) + sr + m_entropy_offset;
|
double s = rgas*(log(Pref/p)) + sr + m_entropy_offset;
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,13 @@ namespace tpx {
|
||||||
return string(buf);
|
return string(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
static string int2str(int n, string fmt="%d") {
|
static string int2str(int n, string fmt="%d") {
|
||||||
char buf[30];
|
char buf[30];
|
||||||
sprintf(buf, fmt.c_str(), n);
|
sprintf(buf, fmt.c_str(), n);
|
||||||
return string(buf);
|
return string(buf);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
string TPX_Error::ErrorMessage = "";
|
string TPX_Error::ErrorMessage = "";
|
||||||
string TPX_Error::ErrorProcedure = "";
|
string TPX_Error::ErrorProcedure = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue