Numerical simulation of the supersonic fluid-dynamics field and of the ablative phenomenon for a heat shield