Heat Transfer Problem in a Van Der Waals Gas