SharpFluids icon indicating copy to clipboard operation
SharpFluids copied to clipboard

how to calculate the thermophysical parameters of moist air?

Open caofali opened this issue 4 years ago • 3 comments

Excuse me, how to calculate the thermophysical parameters of moist air?

caofali avatar Sep 30 '21 08:09 caofali

It is done in CoolProp http://www.coolprop.org/fluid_properties/HumidAir.html# but no one has implemented it into SharpFluids.

I will implement it in the future but not any time soon unfortunately

MadsKirkFoged avatar Sep 30 '21 08:09 MadsKirkFoged

Thank you. I'm still looking forward to it.

caofali avatar Sep 30 '21 08:09 caofali

I have started working on implementing moist air lookup. It is still in beta so please report any bugs you find.

An example of how it works:

MoistAir Air = new MoistAir();
Air.UpdateAir( Pressure.FromBars(1), 
               DryBulbTemperature: Temperature.FromKelvins(298.15),
               RelativeHumidity: 0.5);

Debug.Print($"WetBulbTemperature: {Air.WetBulbTemperature}");
Debug.Print($"DewPointTemperature: {Air.DewPointTemperature}");
Debug.Print($"DryBulbTemperature: {Air.Temperature}");
Debug.Print($"RelativeHumidity: {Air.RelativeHumidity * 100} % ");
Debug.Print($"HumidityRatio: {Air.HumidityRatio} kg/kg");

You need to give it Pressure as the first parameter and 2 of the followering after that:

WetBulbTemperature
DewPointTemperature
SpecificEnergy Enthalpy
RelativeHumidity
Entropy
DryBulbTemperature
Density
HumidityRatio

MadsKirkFoged avatar Oct 04 '21 10:10 MadsKirkFoged