Ansys Employee

Look into the Customization manual and you will see functions starting with PRF_. You need to reduce the Sum of pressure and area before doing the ratio.

Same can be achieved using Fluent Expressions wihtout writing a single UDF line. Have a look into the Fluent User's Guide and you will almost similar example like yours.