Studying thermomechanical properties of thermostructural composites using X-ray microcomputed tomography