usnistgov / REFPROP-issues

A repository solely used for reporting issues with NIST REFPROP
26 stars 13 forks source link

Can't calculate the sound speed and viscosity of the ammonia/water mixture? #308

Closed Satinelamp closed 4 years ago

Satinelamp commented 4 years ago

As the following screenshot shows, there is a warning when I try to calculate the speed of sound and viscosity when the molar concentration of water is greater than 5%. Is this a limitation of the current physical model used in Refprop? Or it is a software bug?

0

1

2

ianhbell commented 4 years ago

This is a current constraint of the range of validity of the model for viscosity of ammonia + water.

Satinelamp commented 4 years ago

What about the speed of sound? Is there a reference book of a journal for the ammonia/water mixture model in Refprop?

ianhbell commented 4 years ago

For the current ammonia + water model, alas, no not yet, that is something that I am supposed to be working on :) The approach is similar to that of Tiller-Roth and Friend: https://aip.scitation.org/doi/abs/10.1063/1.556015

EricLemmon commented 4 years ago

When you press OK on that message (actually I'm not sure what that button says!), the speed of sound will appear, but the transport properties will come back with "Not calculated".

Satinelamp commented 4 years ago

@ianhbell So for ammonia-waster mixture, there are physical models and formulas, but the formula hasn't been validated so far when molar concentration of water is higher than 5%? Is it possible to calculate the sound speed and viscosity of a two-phase state with some simple formula and the results of a single-phase state?

Satinelamp commented 4 years ago

@EricLemmon. As shown in the 3rd screenshot above, when clicking OK, the speed of sound doesn't appear, either.

ianhbell commented 4 years ago

@Satinelamp For two-phase states, there are two answers for the viscosity, one for the equilibrium liquid phase, and another for the equilibrium vapor phase, and then you have to decide what "effective" value you want for the mixture. There is no unambiguous answer to that question, so we leave it up to you.

nist-aharvey commented 4 years ago

@Satinelamp For the sound speed, It is similar to what Ian said for the viscosity concerning 2-phase states. Thermodynamically, the sound speed of a 2-phase mixture cannot be defined, just like the viscosity of a 2-phase state is not a meaningful concept. All you could get would be the sound speed for the individual liquid and vapor phases. Any calculation for the 2-phase mixture (for example, a choking velocity, or a pressure drop in a pipe) has to bring in additional engineering assumptions specific to your process, and REFPROP cannot do that. P.S. In your screenshot, to get the values for the vapor and the liquid, you would (before generating the table) go under Preferences, Properties, and choose the option for "Bulk, liquid, and vapor properties"

EricLemmon commented 4 years ago

Has this issue been resolved now? If so, could you close this?