ideal-gas specific heats of various common gases function of temperature
조회 수: 4 (최근 30일)
이전 댓글 표시
I know that the static pressure specific heat of air, an ideal gas, is 1.005, but in the one I made, it comes out to be 1.0002. What went wrong?
clc; clear all; close all;
M = 28.96;
T = 273.15;
a=28.11; b=0.1967E-2; c=0.4802E-5; d=-1.966E-9;
dcp=(a+(b.*T)+(c.*(T.^2))+(d.*(T.^3)));
cp = dcp./M;
disp(cp);
댓글 수: 4
Dyuman Joshi
2024년 4월 3일
편집: Dyuman Joshi
2024년 4월 3일
Unfortunately, NIST has not published any data regarding Shomate polynomials of Air (If I had to guess why - I would say it is probably because air is a mixture of different elements and compounds, thus it woud be difficult to obtain data for it).
I could only find the values for N2, O2, H2, H2O and CH4.
채택된 답변
VBBV
2024년 4월 2일
편집: VBBV
2024년 4월 2일
M = 28.9; % assune
T = 273.15;
a=28.11; b=0.1967E-2; c=0.4802E-5; d=-1.966E-9;
dcp=(a+(b.*T)+(c.*(T.^2))-(d.*(T.^3)));
%changge in sign here
cp = dcp./M;
disp(cp);
댓글 수: 2
Dyuman Joshi
2024년 4월 21일
Although @Angelo Yeo has accepted this answer, I do not think this is a right approach to solving this problem.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!