Dear Guoqiang,
The Oersted field computation is not provided in Nmag.
If your geometry and current distribution is simple, you can compute the Oersted field by different means (i.e. analytically or using other software), and then apply this as a spatially varying external field within Nmag.
Regards,
Hans