Computational homogenization of 3D printed materials by a reduced order model