A frequency domain solver for numerical calculation of flow around rotors in hovering and forward flight is presented. Solution is obtained in the frequency domain instead of the commonly used time domain. This approach is found to be suitable for calculation of rotor flow due to the inherent periodicity of the flow around rotors in hovering and forward flight. Dynamic structured grid in the flow domain is generated using a simple and efficient transfinite interpolation method. A distributed programming technique is implemented to distribute the memory storage and processing requirements to various instances of the program running on same or multiple computers on an intranet network. The complete framework is validated for the Caradonna-Tung rotor in both hovering and forward flight cases and comparisons are made against available experimental data or results from previous research. It is expected that a frequency domain based solution can lead to significant time savings as the periodicity is enforced from the beginning as compared to time-domain based approach where the periodicity evolves as part of the solution after certain number of revolutions.