ViscTD: Dynamic Viscosity, Function of Temperature and Density
Description
The function ViscTD(Temp,D,digits=9) computes the Dynamic Viscosity
[ Pa s ] for given Temp [K] and D [kg/m3], returning the computed
viscosity and an error message, if an error occur. errorCodes
Usage
ViscTD(Temp, D, digits = 9)
Value
The Dynamic viscosity: [ Pa s ] and an Error Message (if an error occur)
Arguments
Temp
Temperature [ K ]
D
Density [ kg m-3 ]
digits
Digits of results (optional)
Details
This function calls a Fortran DLL that solves the equations developed by
the International Association for the Properties of Water and Steam, valid from
the triple point to the pressure of 1000 MPa and temperature of 1173.15K.
http://www.iapws.org/relguide/viscosity.html