Navier-Stokes equations in aperture domains: global existence with bounded flux and time-periodic solutions