CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Reg:Multiple UDFs

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 3, 2009, 13:33
Default Reg:Multiple UDFs
  #1
New Member
 
Roma Fatima
Join Date: Jul 2009
Posts: 1
Rep Power: 0
Roma is on a distinguished road
Hi,

i am Roma, i am working on a problem in Fluent which involves me to use a couple of UDF functions.These are basically varying temperature with position.
My polynomial for the upper wall temperature is different from the lower one.
So i have two different .c files.When i hook these two into Fluent,i cannot see both the udf functions in the drop down menu.
In my UDF code i have exactly the same arguments,except that the profile is changing.
How should i proceed on this?

Thank You
Roma is offline   Reply With Quote

Old   July 3, 2009, 14:20
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 614
Blog Entries: 17
Rep Power: 20
sbaffini will become famous soon enough
you can only adopt one udf so every subroutine should be written in it (with different names!)

Two solutions: an if/else cycle or change the variable names
sbaffini is offline   Reply With Quote

Reply

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
problem using property udfs in parallel mode EllenW Fluent UDF and Scheme Programming 5 July 10, 2009 04:31
problem using property udfs in parallel mode EllenW FLUENT 0 June 23, 2009 17:18
Unsteady and Flux UDFs for UDSs tom FLUENT 0 February 13, 2009 11:27
UDFs error Shuailin FLUENT 0 November 7, 2005 23:09
Experimental Repository for UDFs, Journal Files and Scheme Scripts Jonas Larsson FLUENT 0 March 5, 2000 16:36


All times are GMT -4. The time now is 05:22.