In a uniform magnetic field of induction $B$, a wire in the form of semicircle of radius $r$ rotates about the diameter of the circle with angular frequency $\omega$. If the total resistance of the circuit is $R$, the mean power generated per period of rotation is
(A) $\frac{B \pi r^{2} \omega}{2 R}$
(B) $\frac{\left(B \pi r^{2} \omega\right)^{2}}{2 R}$
(C) $\frac{(B \pi r \omega)^{2}}{2 R}$
(D) $\frac{\left(B \pi r^{2} \omega\right)^{2}}{8 R}$