CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Modify the htc using UDF on NT (https://www.cfd-online.com/Forums/fluent/27479-modify-htc-using-udf-nt.html)

frederic February 7, 2000 07:51

Modify the htc using UDF on NT
 
Dear All,

I tried to modify the surface heat transfer coefficient using a UDF (page 85 "FLUENT 5 UDF user's guide" chapter 5.6) on a NT platform. I have got an error message when this function was executed, RP_Get_Real. I would like to know if somebody as used this UDF or a similar one. Could you tell me your experience and what kind of udf did you use it?

Thanks,

Frederic

jlehew February 23, 2020 23:26

Hi Frederic,

If you're not doing so already, I would suggest that you try running your code on one processor (serial processing) instead of using parallel processing. Some UDF macros require that you add special directives to deal with the RP_Get and RP_Set commands when processing in parallel. Those directives are not needed for serial processing.

If the above change fixes the issue, I can provide some direction on how to extend your UDF for parallel processing. If the above doesn't fix the issue, if you reply with a copy of the UDF you're working on I can see if there's anything else that might be causing the issue.

Best regards


All times are GMT -4. The time now is 15:25.