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

How can i check that my UDF is being used in fluent istead of its internal data

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 7, 2012, 20:47
Default How can i check that my UDF is being used in fluent istead of its internal data
  #1
New Member
 
Join Date: Jun 2012
Posts: 5
Rep Power: 5
chemkin is on a distinguished road
Dear all
I have written a UDF of volumetric reaction rate and hooked it in fluent. i want to know that is fluent using my UDF or the data i have given by user interface in material options.
and i also want to know that can i use " relax to chemical equilibrium" along with UDF in fluent.
Thanks in advance for your time and concern.
chemkin is offline   Reply With Quote

Old   June 8, 2012, 03:20
Default
  #2
Senior Member
 
ghost82's Avatar
 
Daniele
Join Date: Oct 2010
Location: Italy
Posts: 905
Rep Power: 15
ghost82 will become famous soon enough
I think you can add to your udf some i/o functions, such as printf and verify from the console (a sort of debug)..

But why fluent shouldn't use your options/udf?

Daniele
ghost82 is offline   Reply With Quote

Old   June 8, 2012, 05:19
Default
  #3
New Member
 
Join Date: Jun 2012
Posts: 5
Rep Power: 5
chemkin is on a distinguished road
thanks buddy for help
actually first i hook the UDF and after some iterations unhook it. there is no effect. but when i change the data , in place of which this udf is being used, in fluent user interface effect came into pic. thatswhy i was confused that does this usf is being used or not.
by the way the function that you are talking about, cna you describe it a bit deep???
chemkin is offline   Reply With Quote

Old   June 8, 2012, 07:53
Default
  #4
Senior Member
 
ghost82's Avatar
 
Daniele
Join Date: Oct 2010
Location: Italy
Posts: 905
Rep Power: 15
ghost82 will become famous soon enough
Check this:
http://hpce.iitm.ac.in/website/Manua...df/node260.htm

You can place some printf inside your udf to see values which fluent is using during the simulation.
ghost82 is offline   Reply With Quote

Old   June 8, 2012, 08:07
Default
  #5
New Member
 
Join Date: Jun 2012
Posts: 5
Rep Power: 5
chemkin is on a distinguished road
thanks man thanks a lot for the link. i used Message built in macro instead of printf . it is working .. thanks again

Last edited by chemkin; June 8, 2012 at 08:35.
chemkin is offline   Reply With Quote

Reply

Tags
relax to chemical, udf, user interface, volm reaction rate

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
Please check out my parallelized udf code aleisia Fluent UDF and Scheme Programming 0 June 10, 2011 16:16
UDF in Fluent subha_meter Main CFD Forum 0 October 17, 2009 23:54
fluent UDF external library lapack problem Rick FLUENT 0 May 7, 2008 10:16
accessing solver data with UDF macros Dushan FLUENT 0 October 4, 2006 01:39
UDF (write a data file) problem lichun Dong FLUENT 2 July 29, 2005 11:39


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