Learn R Programming

IAPWS95 (version 1.2.4)

SigmaT: Surface Tension, Function of Temperature

Description

The function SigmaT(Temp,digits=9) computes the Surface Tension [ mN m-1 ] for a given Temp [K], returning the calculated Surface Tension and an error message, if an error occur. errorCodes

Usage

SigmaT(Temp, digits = 9)

Value

The Surface Tension: Sigma [ mN m-1 ] and an Error Message (if an error occur)

Arguments

Temp

Temperature [ K ]

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 critical temperature [ 273.13K to 647.096K]. http://www.iapws.org/relguide/Surf-H2O.html

Examples

Run this code
Temp <- 500.
Sig <- SigmaT(Temp)
Sig

Run the code above in your browser using DataLab