Solenoid coil design