Open Qattussen opened 1 year ago
What version of REFPROP? There is a known bug with kinematic viscosity in REFPROP.
Version 10.0
Hi, also using this version:
Is the known bug already fixed in a later version and how can I get it?
Greetings, Heiko
For now my recommendation is to calculate kinematic viscosity yourself as viscosity divided by density. The development version fixes this bug but has regressions that make it not generally suitable.
Many thanks for the quick reply. I see now that this issue was reported before. Will wait for the new version to come out then. When will that be?
Many thanks for the quick reply. I see now that this issue was reported before. Will wait for the new version to come out then. When will that be?
Sorry I cannot give an estimation. But you can get a development version from me: ian.bell@nist.gov that fixes this issue at least.
In the Fortran code for Python wrapper, the kinematic viscosity is divided by a factor of 100 to convert it from cm^2/s to m^2/s. This is not correct, because the correct factor would be 10^4. This also affects the thermal diffusivity. I took the refprop interface as a reference. Please check! Attached is a screenshot of the deviation of the Python wrapper to Refprop interface
To reproduce results:
Temperature: 25°C Pressure: 7.9 bara Gas Composition: {'Methane','Ethane','Propane','Butane'} Gas Fraction: {0.0965 0.1667 0.3717 0.3651} ref_state = {'OTH',0,0,0,1.01325} model = {'NIST',1}