ViscTD | R Documentation |
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
ViscTD(Temp, D, digits = 9)
Temp |
Temperature [ K ] |
D |
Density [ kg m-3 ] |
digits |
Digits of results (optional) |
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
The Dynamic viscosity: [ Pa s ] and an Error Message (if an error occur)
Temp <- 500.
D <- 838.025
Vis <- ViscTD(Temp,D)
Vis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.