Uniform ac field in anisotropic bar and alternating current potential difference stress measurement