iapws__r797 Module

Module for IAPWS R7-97: Not fully implemented - under development.


Uses

  • module~~iapws__r797~~UsesGraph module~iapws__r797 iapws__r797 ieee_arithmetic ieee_arithmetic module~iapws__r797->ieee_arithmetic module~iapws__r283 iapws__r283 module~iapws__r797->module~iapws__r283 stdlib_kinds stdlib_kinds module~iapws__r797->stdlib_kinds module~iapws__r283->stdlib_kinds

Used by

  • module~~iapws__r797~~UsedByGraph module~iapws__r797 iapws__r797 module~iapws iapws module~iapws->module~iapws__r797 module~iapws__capi_r797 iapws__capi_r797 module~iapws__capi_r797->module~iapws__r797

Functions

public pure elemental function iapws_r797_v(P, T) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: P
real(kind=dp), intent(in) :: T

Return Value real(kind=dp)


Subroutines

public pure subroutine Tsat(ps, Ts)

Compute the saturation temperature at pressure ps. Validity range 611.213 Pa <= ps <= 22.064 MPa.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: ps(:)

Saturation pressure in MPa.

real(kind=dp), intent(out) :: Ts(:)

Saturation temperature in K. Filled with nan if out of validity range.

public pure subroutine psat(Ts, ps)

Compute the saturation pressure at temperature Ts. Validity range 273.13 K <= Ts <= 647.096 K.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: Ts(:)

Saturation temperature in K.

real(kind=dp), intent(out) :: ps(:)

Saturation pressure in MPa. Filled with nan if out of validity range.