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

Several UDF at the same time, is it possible?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 24, 2011, 05:38
Default Several UDF at the same time, is it possible?
  #1
New Member
 
Join Date: Nov 2010
Posts: 2
Rep Power: 0
cleo is on a distinguished road
Hi everyone,

I made UDF for each component at the inlet, CO, CO2, H2O, CH4, velocity, temperature. But when I interpret them in FLUENT, and after that in boundary conditions if I try to "call" them I can use only the last one that I interpreted to the FLUENT.
S I am wondering how to solve this problem? May be to make some kind of library or data base of UDF's?

Thanks in advance
cleo is offline   Reply With Quote

Old   January 24, 2011, 09:13
Default
  #2
Senior Member
 
Join Date: Nov 2009
Posts: 411
Rep Power: 11
DoHander is on a distinguished road
Try to put all of them (the code I mean) in the same source file ... reinterpret the new source file and you should be able to use any of them.

Do
DoHander is offline   Reply With Quote

Old   January 24, 2011, 11:57
Default
  #3
New Member
 
Baiqiu
Join Date: Jan 2011
Posts: 3
Rep Power: 7
holysky is on a distinguished road
Quote:
Originally Posted by cleo View Post
Hi everyone,

I made UDF for each component at the inlet, CO, CO2, H2O, CH4, velocity, temperature. But when I interpret them in FLUENT, and after that in boundary conditions if I try to "call" them I can use only the last one that I interpreted to the FLUENT.
S I am wondering how to solve this problem? May be to make some kind of library or data base of UDF's?

Thanks in advance

you must define these functions respectively,
these functions may be all in one udf file

best wishes
holysky 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
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 09:15
UDF to track time step change meangreen Fluent UDF and Scheme Programming 0 July 11, 2009 15:19
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
Computational time sunnysun OpenFOAM Running, Solving & CFD 5 March 16, 2009 04:32
Availability of previous time level values in UDF ranga sudarsan FLUENT 0 September 1, 2008 09:17


All times are GMT -4. The time now is 17:08.