add pdf sample ideal gas modeling