DrAmine
Ansys Employee

1/MPa is Mega Pascal right? Then your factor is wrong


2/When working with UDF please use S.I units (Pascal for pressure)