Three-dimensional Navier-Stokes equations truncated on a torus