CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   (ask) how to create UDF for inlet velocity profile (https://www.cfd-online.com/Forums/fluent-udf/86275-ask-how-create-udf-inlet-velocity-profile.html)

pakk June 8, 2018 11:17

I use TextPad or Vim.

elvirekatramiz August 8, 2019 04:40

negatif values
 
Hello!
I have a question concerning the velocity profile.
I did the UDF function and compiled it in ANSYS fluent, however I need to assign it to a BC of inlet velocity? if so, it only gives positive values of the velocity... how can the velocity change from + to - on a boundary and thus change the direction of the velocity vectors?
should I change the type of boundary conditions?

Thank You !!

AlexanderZ August 8, 2019 07:49

if we speak about inlet boundary condition ->
positive velocity means flow inside domain
negative velocity means flow onside domain through inlet

best regards

alireza_T May 16, 2022 13:04

How can set velocity component in UDF
 
hello everybody, I need a UDF for the set velocity component.
for example. I want to set y velocity or anything else. so how can write it?

for example on the fluent, you can set ...
https://ibb.co/7p9pL5j

how can write it on the UDF, now?


All times are GMT -4. The time now is 11:37.