Casing pipe application in high-temperature gas wells