Computational simulations for the assessment of the mechanical properties of glass with controlled porosity