Predicting Performance of a Thermal Shield of a Spacecraft in a High-temperature Gas Flow