Calculation of air properties

バージョン 2.0.1 (29.7 KB) 作成者: SFitz
Calculates a variety of the thermodynamic properties of humid air.

ダウンロード: 1.2K

更新 2020/11/18

GitHub から

GitHub でライセンスを表示

Calculates a variety of air thermodynamic properties from the measured temperature, pressure, and humidity.

Variables able to calculated:
rho - [kg m^-3] - Density
mu - [N s m^-2] - Dynamic viscosity
k - [W m^-1 K^-1] - Thermal conductivity
c_p - [J kg^-1 K^-1] - Specific heat capacity (constant pressure)
c_v - [J kg^-1 K^-1] - Specific heat capacity (constant volume)
gamma - [1] - Ratio of specific heats
c - [m s^-1] - Speed of sound: c = (gamma*R*T/M)^0.5
nu - [m^2 s^-1] - Kinematic viscosity: nu = mu/rho
alpha - [m^2 s^-1] - Thermal diffusivity: alpha = k/(rho*c_p)
Pr - [1] - Prandtl number: Pr = mu*c_p/k
M - [kg mol^-1] - Molar mass of humid air
R - [J kg^-1 K^-1] - Specific gas constant
h - [%] - Relative humidity (if dew point inputted)

Calculations are based around atmospheric temperatures and pressures, i.e. not for the use of high temperature combustion. See references for details and limitations.

Picard, A, Davis, RS, Glaser, M, Fujii, K, 2008, 'Revised formula for the density of moist air (CIPM-2007)', Metrologia, vol. 45, no. 2, pp. 149-155. DOI:

Tsilingiris, P, 2008, 'Thermophysical and transport properties of humid air at temperature range between 0 and 100°C', Energy Conversion and Management, vol. 49, no. 5, pp.1098-1110. DOI:


SFitz (2023). Calculation of air properties (, GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2018a
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

See release notes for this release on GitHub:

Minor changes

Updated to include calculation of further properties.

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。