For dry air you use: density = pressure / (specificgasconstant * temperature)
For humid air you use: density = (drypressure / (specificdrygasconstant * temperature)) + (vaporpressure / (specificvaporgasconstant * temperature))
That page has all the various equations you'd need to find the variable inputs (difference between the dry air pressure and the water vapor pressure in humid air) and the constants you'd need as well, and tells how to determine air density by altitude and all that.
发布评论
评论(1)
求空气密度不需要图书馆,只需要一个方程。
http://en.wikipedia.org/wiki/Density_of_air
对于您使用的干燥空气:
密度=压力/(特定气体常数*温度)
对于您使用的潮湿空气:
密度=(干压力/(特定干气体常数*温度))+(蒸气压/(特定蒸气常数*温度))
该页面具有查找变量输入(干燥空气压力和潮湿空气中的水蒸气压力之间的差值)所需的所有各种方程以及您需要的常数,并告诉您如何通过高度和高度来确定空气密度所有这些。
Finding the density of air doesn't require a library, it's just a single equation.
http://en.wikipedia.org/wiki/Density_of_air
For dry air you use:
density = pressure / (specificgasconstant * temperature)
For humid air you use:
density = (drypressure / (specificdrygasconstant * temperature)) + (vaporpressure / (specificvaporgasconstant * temperature))
That page has all the various equations you'd need to find the variable inputs (difference between the dry air pressure and the water vapor pressure in humid air) and the constants you'd need as well, and tells how to determine air density by altitude and all that.