If the two conductors carry current in opposite directions, there will...
Force Between Current-Carrying Parallel Conductors:
When two current-carrying conductors are parallel to each other, a mechanical force acts on each of the conductors.
This force is the result of each conductor being acted upon by the magnetic field produced by the other.
(i) Currents in the Same Direction:
Consider two parallel conductors A and B carrying currents in the same direction and Each conductor will set up its own magnetic field as shown.
It is clear that in the space between A and B, the two fields are in opposition and hence they tend to cancel each other. However, in the space outside A and B,
the two fields assist each other. Hence the resultant field distribution will be as shown,
Since magnetic lines of force behave as stretched elastic cords, the two conductors are attracted towards each other.
(ii) Currents in the Opposite Direction:
Consider two parallel conductors A and B carrying currents in the opposite direction and Each conductor will set up its own magnetic field as shown.
It is clear that in the space outside A and B, the two fields are in opposition and hence they tend to cancel each other.
However, in the space between A and B, the two fields assist each other.
The lateral pressure between lines of force exerts a force on the conductors tending to push them apart. In other words, the conductors experience a repulsive force.
Conclusion:
If currents are in the same directions, the conductors attract each other; if currents are in opposite directions, the conductors repel each other.