Residual Specific Heat Capacity

This script compute the ratio of the residual specific heat capacity to the universal gas constant
51 Downloads
Updated 10 Sep 2022

View License

% ResCpRatio.m
% This script compute the ratio of the residual specific heat capacity to
% the universal gas constant using Hall and yarborough correlation for
% compresibility factor.
%
% Pr = pseudoreduced pressure;
% Tr = pseudoreduced temperature;
% Written by Lateef Kareem - 10/09/2022
% All equations programed are from the paper in the link below
% https://www.researchgate.net/profile/Lateef_Kareem/publication/235961260_Specific_Heat_Capacity_of_Natural_Gas_Expressed_as_a_Function_of_Its_Specific_gravity_and_Temperature/links/57dfabfa08ae5292a37f7fd3/Specific-Heat-Capacity-of-Natural-Gas-Expressed-as-a-Function-of-Its-Specific-gravity-and-Temperature.pdf

Cite As

Lateef Adewale Kareem (2024). Residual Specific Heat Capacity (https://www.mathworks.com/matlabcentral/fileexchange/71086-residual-specific-heat-capacity), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Thermal Analysis in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.0.0.0

Eliminated the need for gauss legendre integrator by using matlab's default integrator and arrayfun. Also improve the computation of the integrands by using simple definition for A, B, C and D

1.0.2

Updated the initial guess for solving Hall and yarbourough correlation

1.0.1

No need to consider case Pr = 0, since a gauss quadrature method used in the algorithm will not evaluate the function at the end point of the integration interval.

1.0.0