

Property Evaluation Background For an introductory course in thermodynamics, it is often assumed that the world can be divided up into three types of substances PageĢ Ideal Gases Incompressible Substances Compressible Substances Each substance has its own mathematical models used to evaluated the properties. The paper concludes with some observations concerning the development of the MATALB functions and their use. Next the MATLAB property functions are introduced, followed by a presentation of the MATLAB GUI's.

This paper continues with some background on the property evaluation for the substance types considered. The presentation of the GUI enhances the student s understanding of the methodology of property evaluation and the decision making process that is intricate to the procedure. The GUI then displays the remaining properties. Once the type of substance has been determined, the user identifies the two known intensive properties required to fix the state. A graphical user interface tool has also been developed which allows for interactive property evaluation.
#THERMODYNAMICS CALCULATOR MATLAB CODE#
As pseudo code functions they may be called directly from the MATLAB workspace or incorporated into other script file programs. Both direct functions, such as calculating enthalpy given the temperature and pressure, and inverse functions, such as calculating the temperature given the pressure and enthalpy, are available. The Thermodynamic Property Toolbox consists of MATLAB functions for the evaluation of thermodynamic properties for several ideal gases, four compressible substances, and three incompressible substances. To address this deficiency, the Thermal Engineering Computer Aided Design (TECAD) group at MSU has developed a thermodynamics property toolbox for MATLAB. Calculations in thermodynamics, fluid mechanics, and heat transfer rely heavily on the evaluation of thermophysical properties, and without property functions, MATLAB will surely continue to be underutilized in the thermal/fluids area. Unfortunately, the thermal/fluids area has not been able to utilize MATLAB as effectively due to the lack of property evaluation functions.

Recently, it has become the structured programming language taught in the freshman engineering computer course at MSU. With the addition of toolboxes in optimization, signal processing, and controls system, it is truly a powerful tool for analysis in the mechanical systems area. It is used extensively in the undergraduate controls and vibrations courses, as well as several technical electives. Introduction MATLAB has become the technical computing language of choice for the mechanical systems courses in the Department of Mechanical Engineering at Michigan State University. Genik Michigan State University/Michigan State University/University of Portland I. 1 Session 2793 A MATLAB Toolbox for Thermodynamic Property Evaluation Craig W.
