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

Multiple UDFs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2004, 18:48
Default Multiple UDFs
  #1
Graeme
Guest
 
Posts: n/a
Hi I'm trying to control the velocities of 2 different velocity inlets with UDFs. I can't seem to use 2 seperate UDF's at the same time. Can I control two separate inlets with the same UDF? Or is there some way to use 2 or more UDFs?
  Reply With Quote

Old   August 17, 2004, 22:35
Default Re: Multiple UDFs
  #2
Javier
Guest
 
Posts: n/a
You have to write the two udf on the same code file. Then you will see them separated on the udf panel.
  Reply With Quote

Old   August 18, 2004, 17:47
Default Re: Multiple UDFs
  #3
Graeme
Guest
 
Posts: n/a
How exactly do you name more than one boundary condition? The examples in the tutorials/manual all only have one boundary condition that is being controlled.

DEFINE_PROFILE(unsteady_velocity, thread, position) Do i do DEFINE_PROFILE2? or something like that?
  Reply With Quote

Old   August 18, 2004, 18:26
Default Re: Multiple UDFs
  #4
Rob Hart
Guest
 
Posts: n/a
no.

you need to do

DEFINE_PROFILE(unsteady_velocity2, thread, position)

or something like that. All that matters is that the two profiles have different names.

Rob

  Reply With Quote

Old   August 28, 2004, 15:47
Default Re: Multiple UDFs
  #5
Bikash
Guest
 
Posts: n/a
hi Graeme,

im have the same problem as yours with the UDF. Im trying to use for temperature at the inlet and the ambient temperature both varying with time. the last one compiled overlaps the previous one. i guess you found the solution to your problem. please do help me with my problem. i would respect your time and thank you for your help.

thanks

bikash
  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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
how can i use multiple udfs hami9293 Fluent UDF and Scheme Programming 15 May 27, 2020 19:25
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
multiple UDFs mmdmov Fluent UDF and Scheme Programming 4 April 21, 2009 07:42
Multiple udfs? David Harris FLUENT 1 April 23, 2006 02:34


All times are GMT -4. The time now is 11:03.