Toward the use of LES for industrial complex geometries. Part I: automatic mesh definition