Electric current density in a cylindrical object