Thermodynamics

The following GUI and/or Excel files and MATLAB functions can be used to read data and determine properties from the Thermodynamic Tables.
Please do not edit/modify any of these files/functions. They contain copyrighted information. The MATLAB functions are in an encrypted format (*.p extension). These can be used as any other *.m file. The syntax help for these functions are shown in the table below.
The best way to download the files is to use the right-click and save as option.
Description Files Help
Graphical User Interface (GUI) Thermodynamic GUI.zip
Unzip into a folder and execute the file thermoGUI.p in MATLAB. The GUI can be used to determine all properties.
Tables Thermodynamics Tables SI Units.xlsx
Thermodynamics Tables English Units.xlsx
These Excel files have all the properties listed in a format similar to most textbooks
Functions MATLAB functions Help
Water: Superheated (steam)
Saturated
Subcooled
water_sh.p
water_sat.p
water_sc.p
water_sh_help.m
water_sat_help.m, water_sc_help.m
R22: Superheated
Saturated
R22_sh.p
R22_sat.p
R22_sh_help.m
R22_sat_help.m
R134a: Superheated
Saturated
R134a_sh.p
R134a_sat.p
R134a_sh_help.m
R134a_sat_help.m
Ammonia: Superheated
Saturated
ammonia_sh.p
ammonia_sat.p
ammonia_sh_help.m
ammonia_sat_help.m
Propane: Superheated
Saturated
propane_sh.p
propane_sat.p
propane_sh_help.m
propane_sat_help.m
Incompressible Substance Model (ISM) ism.p ism_help.m
Ideal Gas Model (IGM):
Properties for air
Specific heats of common gases
Isentropic processes for air
Isentropic processes for common gases

igm_air.p
igm_specific_heats.p

igm_isentropic_air.p
igm_isentropic_specific_heats.p

igm_air_help.m
igm_specific_heats_help.m

igm_isentropic_air_help.m
igm_isentropic_specific_heats_help.m

While these functions have been used for 3-5 semesters in a Thermodynamics course for Mechanical Engineers, they have not been tested for all cases. Please let the Project Director Dr. Priya Goeser know if you find any errors and/or if you wish to use them for any similar courses/educational purposes.

Useful MATLAB concepts: Functions and Structures
There are no primers or exercises for this module.
Please refer to a Thermodynamics textbook for further details and examples.