UDS BCs at wall
Hello to all FLUENT's people, I've to define the boundary conditions for an UDS at a wall by using the Specified Flux option, but I haven't found which is the macro ( ...maybe something as DEFINE_PROFILE...) that I have to use for this case ....could anyone give me some information about this argument???
Thanks in advance!!! Giordano Bruno |
Re: UDS BCs at wall
Yes, you have to use a DEFINE_PROFILE. When it is complied you can link it in the FLUENT GUI by changing the drop down that says constant to your UDF. There is infromation about define profile in the UDF manual.
|
Re: UDS BCs at wall
Thank you for your response... according to me the UDF manual isn't very clear about this argument.
Regards, Giordano Bruno |
Re: UDS BCs at wall
OK, well I am using a DEFIN_PROFILE for flux and value BC's for UDS's all the time, and they do work. There is an example in the manual for pressure profile, but this can just as easily be used for any other variable, such as temperature, velocity or, indeed, a UDS. Here is an example of how you would use it, it is almost identical to the manual:
#include "udf.h" DEFINE_PROFILE(UDS_profile, t, i) { face_t f; begin_f_loop(f, t) { F_PROFILE(f, t, i) = 10; // or whatever funciton you want } end_f_loop(f, t) } |
All times are GMT -4. The time now is 14:08. |