CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Question on Convective augmentation factor (UDF) (https://www.cfd-online.com/Forums/fluent/227663-question-convective-augmentation-factor-udf.html)

ASDzxc June 5, 2020 09:54

Question on Convective augmentation factor (UDF)
 
1 Attachment(s)
Hi there,
I’m working with the convective augmentation factor (section 6.3.14.3.6. Augmented Heat Transfer in Ansys User’s guide). Following the instruction, this factor should be assigned using text command.
Attachment 78182
In fact, I noticed that it can be created as a udf profile. I wonder which UDF function should I use?
I tried to create the following one (just a test case, to see if it can be compiled), but not success.
DEFINE_PROFILE(flux_heat_Augfac, t, i)
{
face_t f;
begin_f_loop(f, t)
{
F_PROFILE(f, t, i) = 20.;
}
end_f_loop(f, t)
}
Am I using the wrong function ? (I didn't find any example in the UDF user's guide.)

vinerm June 5, 2020 11:17

Augmentation
 
UDF is not required if you want to apply a single value or a fixed profile. However, you can use a UDF if the value of augmentation factor changes with the solved field.

ASDzxc June 5, 2020 11:20

Quote:

Originally Posted by vinerm (Post 773530)
UDF is not required if you want to apply a single value or a fixed profile. However, you can use a UDF if the value of augmentation factor changes with the solved field.

Well, in my case, I'm pretty sure it is not a fixed value or a constant. I have to use UDF. Could you please show me an example of UDF on Convective augmentation factor? Thanks a lot.

vinerm June 5, 2020 12:46

Udf
 
You can use any general DEFINE_PROFILE UDF, even the one you shared in your post.


All times are GMT -4. The time now is 01:09.