Laxmikant G Keni sir, yes for any inlet velocity or pressure you can apply the UDF code but it would be very easier to say if you explain little bit more about your problem sir 😊
I want to apply the UDF on the wall. Which is not aligned with any definite axis. IF it is to inlet or outlet its easy. Example: If the esophagus peristalsis simulation, bolus will move. The sine wave UDF is to added on the wall to create the bolus motion. Bit its easy for straight tube or pipe.