Learn R Programming

IAPWS95 (version 1.2.4)

KViscTD: Kinematic Viscosity, Function of Temperature and Density

Description

The function KViscTD(Temp,D,digits=9) computes the Kinematic Viscosity [ m2 s-1 ] for given T [K] and D [kg/m3], returning the calculated viscosity and an error message, if an error occur. errorCodes

Usage

KViscTD(Temp, D, digits = 9)

Value

The Kinematic viscosity: [ m2 s-1 ] 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 calculates the Kinematic Viscosity that is the relation ViscTD(D,Temp)/D, valid from the triple point to the pressure of 1000 MPa and temperature of 1173.15K.

Examples

Run this code
Temp <- 500.
D <- 838.025
KVis <- KViscTD(Temp,D)
KVis

Run the code above in your browser using DataLab