A Knowledge-driven Physics-Informed Neural Network model; Pyrolysis and Ablation of Polymers