Modelling of pyrocarbon chemical vapor infiltration