Downloads data tables from the NIST Chemistry Webbook (http://webbook.nist.gov/chemistry/fluid/) for a specified temperature and/or pressure range. The tables are useful for plotting or for data lookup by interpolation.
Are Mjaavatten (2021). nistdata(species,T,p) (https://www.mathworks.com/matlabcentral/fileexchange/64578-nistdata-species-t-p), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
You are absolutely right, Alexandra. At some point I changed the unit read from NIST from micro Pa/s to Pa/s, but kept the old conversion factor. I seldom use transport properties, so this blatant error passed under the radar. Thank you for pointing this out. The new version (1.4) should be correct.
I think your unit conversions are incorrect. I am getting a viscosity on the order of 1e-11 Pa-s
Thanks to Martijn van Heumen for his constructive comment. The code has been updated accordingly in version 1.3.
Thank you!
The file did not work for me under R2018b. After replacing txt = webread(url); by options = weboptions('RequestMethod','get','ArrayFormat','csv','ContentType','text'); txt = webread(url,options); it works perfectly.