Demo of calculating Moody friction factor (f) as a function of Reynolds Number (Re) and relative roughness (e/d). Eliminates the manual use of the “Moody Diagram” for determining f in pipe flow head loss calculation:
Head Loss = f L/D V^2 / (2g)
ReynoldsNumberMATLAB
Demo of calculating Reynolds Number (dimensionless) for water, given temperature, velocity, and representative dimension.
InterpolationDemoMATLAB
Interpolation Demo MATLAB: Demo of the built-in “interp1” function call. Change file type to “.m” for use in MATLAB.
SteamTurbineDemoMATLAB
SteamTurbinePowerDemo: Demo of steam turbine power analysis. Change file type to “.m” for use in MATLAB.
SteamTablesSI
SteamWaterFunctions_SI: Thermodynamic properties of water/steam (H2O), in SI units. Change file type to “.m” for use in MATLAB. Use as stand-alone for property evaluation, or use as a base file for function calls.
SteamTablesEnglish
SteamWaterFunctions_English: Thermodynamic properties of water/steam (H2O), in English units. Change file type to “.m” for use in MATLAB. Use as stand-alone for property evaluation, or use as a base file for function calls.
RefrigerationCycleDemo
RefrigerationCycleDemo: Demo of COP determination for a refrigeration cycle. Change file type to “.m” for use in MATLAB.
R134aPropsSI
R134aPropFunctions_SI: Thermodynamic properties of Refrigerant R134a, in SI units. Change file type to “.m” for use in MATLAB. Use as stand-alone for property evaluation, or use as a base file for function calls.
R134aPropsEnglish
R134aPropFunctions_English: Thermodynamic properties of Refrigerant R134a, in English units. Change file type to “.m” for use in MATLAB. Use as stand-alone for property evaluation, or use as a base file for function calls.
IdealGasCpSI
IdealGasSpecificHeat_SI: Specific heat values, depending on temperature, for various ideal gases, in SI units. Change file type to “.m” for use in MATLAB. Use as stand-alone for property evaluation, or use as a base file for function calls.

