CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   UDF velocity inlet (https://www.cfd-online.com/Forums/main/250342-udf-velocity-inlet.html)

hassan-1504 June 10, 2023 13:23

UDF velocity inlet
 
1 Attachment(s)
Hello everyone,

i have little problem, i have created an UDF File, for velocity inlet, in a tube but when i plot it with report definition, i dont get a sinusoid, i want to know what is the problem, i have define correctly UDF file in user define fonction, but the plot and values obtained aren't correct.

Thank you for your help

PKP_India June 14, 2023 07:38

Hi,
The profile UDF looks fine. if there is any compilation issue, please check for errors.
if there is no compilation issue Please see below:
1. since your velocity profile is dependent on time, if you plot at the beginning it will give Uinlet=30. but as the time gets updated, you will see a nice sine profile curve at your velocity inlet.


All times are GMT -4. The time now is 15:47.