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

cannot store more than one interpreted UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By ghost82

Reply
 
LinkBack Thread Tools 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: 9
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
 
Daniele
Join Date: Oct 2010
Location: Italy
Posts: 918
Rep Power: 15
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: 9
skrzatchlewny is on a distinguished road
Thank you, problem solved.
skrzatchlewny is offline   Reply With Quote

Reply

Tags
interpreted, udf

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Interpreted UDF in parallel David Chabot Fluent UDF and Scheme Programming 8 May 30, 2012 03:18
UDF - Interpreted works and compiled doesn't AlwaysLearning FLUENT 5 August 30, 2006 05:44
errors in interpreted udf for two macro Asghari FLUENT 0 August 7, 2006 02:29
Interpreted UDF Bikash FLUENT 8 September 1, 2004 02:30
error of Interpreted udf Zhang Junmei FLUENT 6 December 12, 2001 09:03


All times are GMT -4. The time now is 07:54.