CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF Not Returning Value

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2020, 11:58
Default UDF Not Returning Value
  #1
New Member
 
David
Join Date: Aug 2020
Posts: 5
Rep Power: 5
David12 is on a distinguished road
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
Attached Files
File Type: c RPM UDF.c (422 Bytes, 7 views)

Last edited by David12; August 12, 2020 at 11:59. Reason: add note
David12 is offline   Reply With Quote

Old   August 12, 2020, 22:29
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
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
AlexanderZ is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 02:18
Save output of udf in another udf! JuanJoMex FLUENT 0 February 8, 2018 12:43
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 00:53
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


All times are GMT -4. The time now is 06:53.