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/)
-   -   (Help)udf for inlet boundary condition (https://www.cfd-online.com/Forums/fluent-udf/172918-help-udf-inlet-boundary-condition.html)

Cfdbug June 9, 2016 04:41

(Help)udf for inlet boundary condition
 
Hello,i want specify Instant velocity,u,v,w,for the inlet condition.The three velocities are related because the continue equation, they can be only produced on one run.
I used random function in define profile. So if i use three define profile functions for the three velocities,they can't fit the continuity.
How to manage it?
Thank you in advance

Cfdbug June 9, 2016 04:43

Maybe i can use external variables?

pakk June 9, 2016 06:17

Quote:

Originally Posted by Cfdbug (Post 604040)
The three velocities are related because the continue equation,

No. Check the equations: the continuity equation relates the derivatives of the velocity. Since you prescribe them on a surface, there is one derivative that you don't prescribe, and that one will follow from the continuity equation automatically.


All times are GMT -4. The time now is 04:16.