More stupid mistakes in the incompressibles fixed, thanks to Luke Erickson for reporting #429, which is fixed now.

This commit is contained in:
Jorrit Wronski
2015-01-26 22:00:41 +01:00
parent f52e59bba2
commit 33d9e2e833

View File

@@ -27,7 +27,7 @@ void IncompressibleFluid::set_reference_state(double T0, double p0, double x0, d
this->uref = 0.0;
this->uref = u(T0,p0,x0) - h0; // (value without ref) - (desired ref)
this->sref = 0.0;
this->sref = s(T0,p0,x0) - s0; // (value without ref) - (desired ref)
this->sref = s(T0,p0,x0);
}
void IncompressibleFluid::validate(){