Flux flow in type II superconducting wires in longitudinal magnetic fields