Automated generation of flat tileable patterns and 3D reduced model simulation. (August 2022)