seeta gunti
Ansys Employee

Hello Soumya,

You mentioned that your inlet and outlet conditions are not constant so you need to provide the inlet as either profile or UDF.  Providing an UDF for the inlet is an appropriate approach. Please note that by giving outlet as constant pressure boundary, you are fixing the pressure as constant which may not be right in your case.