New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error surface tension in CoolProp v5.1.0 #636
Comments
Is that a surprise? Please correct me if I am wrong, but I would not know how to calculate the surface tension of a mixture of gas and liquid. |
There are correlations for the pseudo - pure though
|
This should be an error, but a different error than what you got. If you want to get the surface tension directly, see #640, I'm fixing this. |
Basically, 0 < Q < 1 is undefined behavior for pseudo-pure fluids since you don't know what is happening with the mole fractions of liquid and vapor in equilibrium. |
You need to figure out how you want to handle it yourself. |
Thank you. This was helpful. |
Does that make sense to you? |
Yes. |
Updating to CP v5.1.0, I got the following error:
ValueError: p is not a valid number : PropsSI("I","T",328.9778772,"Q",0.5,"R410A")
while CP v5.0.8 gives not error!
The text was updated successfully, but these errors were encountered: