Advanced wall model for aerothermodynamics