Rob
Ansys Employee

You need to decide if you need to use a UDF for a real gas; otherwise if you want a function of pressure you need to review the Real Gas models. I would think very carefully before deciding to do that.