Frictionless Duct Flow with Heat Transfer