Text this: Mesh generation and mechanical tests of basic element cells of porous structures