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

return values from udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2014, 09:59
Default return values from udf
  #1
New Member
 
Garvit Goel
Join Date: May 2014
Posts: 11
Rep Power: 11
garvitgoel is on a distinguished road
hi,
What happens to the values that are returned from the UDF? How can I access them in fluent?
Thanks
garvitgoel is offline   Reply With Quote

Old   June 12, 2014, 10:26
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
You will need to be more detailed than this, there is no "the UDF", all UDFs are different...
Can you give an example of a UDF, and mention which values you would like to access in Fluent?
pakk is offline   Reply With Quote

Old   June 12, 2014, 14:37
Default
  #3
Senior Member
 
Bionico's Avatar
 
Flavio
Join Date: Sep 2011
Location: Brescia, Italy
Posts: 181
Rep Power: 15
Bionico is on a distinguished road
Hi garvitgoel,
tell me if I understood weel: do you want to display some values in text user interface? in this case you have to use printf command

Regards
__________________
Bionico
Bionico is offline   Reply With Quote

Old   June 16, 2014, 10:25
Default
  #4
New Member
 
Garvit Goel
Join Date: May 2014
Posts: 11
Rep Power: 11
garvitgoel is on a distinguished road
Actually, I want know how I can print in the graphics area, where all the graphics are printed.
Thanks
garvitgoel is offline   Reply With Quote

Old   June 16, 2014, 13:14
Default
  #5
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
You will need to be more detailed than this, there is no "the UDF", all UDFs are different...
Can you give an example of a UDF, and mention which values you would like to access in Fluent?

Seriously. If you have a DEFINE_PROFILE that gives velocities, you need a completely different solution than if you have a DEFINE_TIMESTEP that defines which timestep your simulation has. Be specific. Or if you have no specific example, choose one.
pakk is offline   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
Modified k-e turbulence model UDF Travis Fluent UDF and Scheme Programming 7 November 11, 2018 20:21
I want to Change Values in Existing UDF to Match my Model mamkol Fluent UDF and Scheme Programming 1 April 26, 2013 02:57
I want to write a UDF for atmospheric boundry layer profile mamkol Fluent UDF and Scheme Programming 0 April 12, 2013 11:55
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
cell values in UDF gayatri FLUENT 2 February 27, 2007 18:18


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