Controlling thermal deformation by using composite materials having variable fiber volume fraction