A solid metallic cylinder carriers a direct current. The magnetic field produce by it exists.