Modelling of the strength–porosity relationship in glass-ceramic foam scaffolds for bone repair