Commit d497f147 authored by Timo Koch's avatar Timo Koch
Browse files

[simpleh2o][gasenthalpy] Remove offset reuse heat capacity

parent 59078725
......@@ -136,7 +136,7 @@ public:
Scalar pressure)
{
static const Scalar tRef = getParam<Scalar>("SimpleH2O.ReferenceTemperature", 293.15);
return 1976*(temperature - tRef) + 2.45e6;
return gasHeatCapacity(temperature, pressure)*(temperature - tRef);
}
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment