Orientation of magnetic field (shown here as magnetic field strength H or magnetic flux density B) with respect to the electric current I follows the right-hand rule: if thumb shows the direction of current then curled fingers show the direction of magnetic field, and vice versa: if thumb show the direction of field then curled fingers indicate the direction of current that produced it.
Source of information:
right-hand_rule_both_magnetica.png
You are permitted and indeed encouraged to use this image freely, for any legal purpose including commercial, and with any modifications (the permission is hereby given, so there is no need to ask for it explicitly again), but you MUST always give the following credits:
S. Zurek, Encyclopedia Magnetica, CC-BY-4.0
We would appreciate if you let us know of any use: info@e-magnetica.pl