Modeling the oxidation, ablation, and mechanics of carbon fiber preform in thermal protection systems