|
[Sponsors] |
August 12, 2020, 12:58 |
UDF Not Returning Value
|
#1 |
New Member
David
Join Date: Aug 2020
Posts: 5
Rep Power: 6 |
Hello everybody, I'm having trouble with my UDF that uses the macro DEFINE_TRANSIENT_PROFILE. I am using this code in order to rotate a propeller in ANSYS, and therefore I use the UDF in the cell zone condition for frame motion and rotational velocity. The UDF uploads with no warnings; however, the Report Definition for the UDF shows 0 on both the plot and the print console. Could somebody point out to me what I'm doing wrong? Thank you!
**Note, I took out some code and put it in comments to check whether or not that was the problem and it wasnt Last edited by David12; August 12, 2020 at 12:59. Reason: add note |
|
August 12, 2020, 23:29 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
code should work with no problem
what is Report Definition ? are you sure, you are hooking profile properly?
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
udf for one dimensional linear motion based on force | maccheese | Fluent UDF and Scheme Programming | 2 | September 1, 2019 03:18 |
Save output of udf in another udf! | JuanJoMex | FLUENT | 0 | February 8, 2018 13:43 |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 01:53 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |