EXHIBIT 23.1

                       Consent of Independent Accountants

We hereby consent to the incorporation by reference in the Registration
Statement on Form S-8 (No. 333-4278) of ANSYS Inc. of our report dated January
30, 2002 relating to the consolidated financial statements, which appears in the
Annual Report to Shareholders, which is incorporated in this Annual Report on
Form 10-K. We also consent to the incorporation by reference of our report dated
January 30, 2002 relating to the financial statement schedule, which appears in
this Form 10-K.


/s/ PricewaterhouseCoopers LLP
- ------------------------------
PricewaterhouseCoopers LLP
Pittsburgh, Pennsylvania
March 21, 2003

27