hi El-Sayed Mahmoud El-Rabaie ,harmonics in any waveform creates non uniformity in that waveform as well as losses due to multiple frequency . if you want to analysis harmonics than go for THD(total harmonic distribution) for particular waveform .
ANSYS APDL can perform harmonic analysis on a structure, determining the steady-state sinusoidal response to sinusoidal varying loads all acting at a specified frequency. But ANSYS supports only non-zero displacement loading at nodes in harmonic models.
For more information about harmonic analysis you can go through the attached PPT