DanWBR / dwsim

DWSIM is a Steady-State and Dynamic Sequential Modular Chemical Process Simulator for Windows, Linux and macOS.
https://dwsim.org
GNU General Public License v3.0
296 stars 95 forks source link

Liquid is a solid #682

Closed magnuscarlsen closed 2 days ago

magnuscarlsen commented 3 weeks ago

We are running a simulation which includes water with a high concentration of salt and a pump, and we are running into the issue that the model sees the water as a solid, and therefore the pump calculation fails.

It fails if we use Flash Spec “Temperature and Pressure” to set the temperature to 10 degC & 25 bar and then swap to pressure and enthalpy. The specific enthalpy is calculated as 60 kJ/kg. When we look in the results, the liquid is now interpreted as a solid. How does DWSIM determine whether it is a solid or a liquid? In our understanding, it should still be a liquid under these conditions.

I have attached the model. Note: We use the” IAWPS-08 Seawater (2) PropOver” property package where we make alternative calculations for water density and viscosity due to the high salinity. TestCase_send.zip

DanWBR commented 3 weeks ago

@magnuscarlsen looks like there is a discontinuity in the enthalpy-temperature curve, in the meantime you can force the stream to be a liquid.

magnuscarlsen commented 3 weeks ago

@DanWBR Hi Daniel, Thanks for the reply, unfortunately the forcing stream to be a liquid doesnt seem to fix the problem.