File Exchange

image thumbnail

Sulfur Hexafluoride Property Lookup

version 1.1 (37.8 KB) by

Function returns properties of SF6, including density, enthalpy, sound speed, specific heats.

1 Download

Updated

View License

SF6_props returns thermodynamic properties of sulfur hexafluoride as a function of pressure (MPa) and temperature (K).

EXAMPLE 1:
SF6_props(.101,295)
ans =
    rho: 6.0886
      u: -19.3207
      h: -2.7237
      s: -0.0080
     cv: 0.6040
     cp: 0.6640
      c: 134.2764

EXAMPLE 2:
SF6_properties = SF6_props(0.101,295);
SF6_sound_speed = SF6_properties.c;

VALID RANGES:
0.1 MPa <= P_MPa <= 150 MPa
  210 K <= T_K <= 625 K

Note: There are some "edge effects" in the interpolation. If you enter pressure or temperature values that are near the outer bounds of their valid range, you may get a NaN result. Sorry about that.

CREDIT WHERE CREDIT IS DUE:
Values are linearly interpolated from data found in Table 29 of:

A Reference Equation of State for the Thermodynamic Properties of Sulfur Hexafluoride (SF_6) for Temperatures from the Melting Line to 625 K and Pressures up to 150 MPa.

by

C. Guder and W. Wagner, J. Phys. Chem. Ref. Data 38, 33 (2009),
http://dx.doi.org/10.1063/1.3037344

I cannot attest to the accuracy of the source data and I cannot guarantee that this function will flawlessly retrieve the appropriate data from the table. Who knows, I could've made some errors in transferring the tabulated data. Further, this function relies upon linear interpolation of sometimes sparse data to describe the properties of a rather unique substance, so, inherently there are many approximations and there's plenty of room for error. Still, hopefully these numbers will be in the right ballpark.

If you use this function along the way to publishing, you do not need to cite me in any way. However, you should most certainly give credit to Guder and Wagner. Read their paper. It's good.

Comments and Ratings (0)

Updates

1.1

updated image

MATLAB Release
MATLAB 7.13 (R2011b)
Acknowledgements

Inspired by: Compressibility Factor Calculator

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video