A simulation of the global ocean circulation with resolved eddies