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

cannot store more than one interpreted UDF

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By ghost82

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2012, 19:00
Default cannot store more than one interpreted UDF
  #1
New Member
 
Join Date: Nov 2009
Posts: 17
Rep Power: 19
skrzatchlewny is on a distinguished road
Hello,

I am doing CFD of VAWT turbine. I wrote working UDFs controling pitch of each blade. The problem is that i can use only one blade-control-UDF at once. When I interpret UDF for the other blade, the previous dissapears (is overwritten?) so I can see only the "recent udf" in the "zone motion function". How to handle many UDFs controling zones motion?

Regards,
Adam
skrzatchlewny is offline   Reply With Quote

Old   January 31, 2012, 04:03
Default
  #2
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
ghost82 will become famous soon enough
Quote:
Originally Posted by skrzatchlewny View Post
Hello,

I am doing CFD of VAWT turbine. I wrote working UDFs controling pitch of each blade. The problem is that i can use only one blade-control-UDF at once. When I interpret UDF for the other blade, the previous dissapears (is overwritten?) so I can see only the "recent udf" in the "zone motion function". How to handle many UDFs controling zones motion?

Regards,
Adam
Hi,
write all your udf in a single .c file and compile/interpret only that file, giving your udfs different names.

Daniele
laurentb and fatihsinan like this.
ghost82 is offline   Reply With Quote

Old   January 31, 2012, 13:26
Default
  #3
New Member
 
Join Date: Nov 2009
Posts: 17
Rep Power: 19
skrzatchlewny is on a distinguished road
Thank you, problem solved.
skrzatchlewny is offline   Reply With Quote

Reply

Tags
interpreted, udf


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
Interpreted UDF Bikash FLUENT 10 December 3, 2019 01:52
UDF - Interpreted works and compiled doesn't AlwaysLearning FLUENT 9 October 30, 2018 01:52
Interpreted UDF in parallel David Chabot Fluent UDF and Scheme Programming 8 May 30, 2012 04:18
errors in interpreted udf for two macro Asghari FLUENT 0 August 7, 2006 03:29
error of Interpreted udf Zhang Junmei FLUENT 6 December 12, 2001 09:03


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