velocity inlet using udf
i have an velocity inlet profile u(y)
but this profile isn't Analytical (i have an array u) how can I put it as a udf function? the final result should be a u(y)u(t) so i can't use the regular profile at (define-> profiles) thanks for the help |
Quote:
if y<3 then; velocity=ArrayU(1) if y<2 then; velocity=ArrayU(2) if y<1 then; velocity=ArrayU(3) if y<0 then; velocity=ArrayU(4) Obviously making this kind of UDF is best suited to a computer program if you have many mesh points, so you need to write a computer program to write your UDF for you :) I think Fluent will interpolate the velocity profile if you don't have data for each meshpoint. |
All times are GMT -4. The time now is 12:08. |