Finite-element method to study harmonic aeroacoustics problems