Aerothermal effects of ablation on carbon-based space objects