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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2012, 21: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: 14
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, 04:20
Default
  #2
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
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, 06:19
Default
  #3
New Member
 
Join Date: Jun 2012
Posts: 5
Rep Power: 14
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, 08:53
Default
  #4
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
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, 09:07
Default
  #5
New Member
 
Join Date: Jun 2012
Posts: 5
Rep Power: 14
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 09:35.
chemkin is offline   Reply With Quote

Reply

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


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


All times are GMT -4. The time now is 04:00.