Mass and Heat Transfer in the Problem of a Finite Thickness Ablating Piston