CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Calling variable in UDF

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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2017, 06:54
Default Calling variable in UDF
New Member
Join Date: Aug 2017
Posts: 1
Rep Power: 0
Tien is on a distinguished road
Hi all,
When I writing a UDF, some variables that FLUENT already computed are needed in my model. Such like nucleation site density, departure frequency, departure diameter; these are already computed in RPI model. Also, the interfacial momentum transfer rate due to drag force, lift force and other interfacial forces.
Does anyone know the name of these variable or where can I find these names?
Thank you very much.
Tien is offline   Reply With Quote

Old   August 7, 2017, 07:47
Senior Member
sbaffini's Avatar
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,095
Blog Entries: 29
Rep Power: 38
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
If they are not explicitly cited in the manual, you can have some chance by looking trough the files in your installation directory. For example, for Fluent 15, I had the following folder:

C:\Program Files\ANSYS Inc\v150\fluent\fluent15.0.0\src

by looking trough all the #define you might recognize, among other things, some variables usable in UDFs.
sbaffini is offline   Reply With Quote


boiling flow, eulerian multiphase, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting cell variable values in a fluid zone using UDF eromon84 Fluent UDF and Scheme Programming 6 March 28, 2021 11:59
Question regarding DEFINE_PROFILE or calling another udf from a udf. nvarma FLUENT 0 June 29, 2016 09:11
UDF extern variable - mean time moment coefficient enry Fluent UDF and Scheme Programming 0 November 14, 2009 06:51
name variable in UDF using Thread : syntax error before numeric constant Laurence Wallian FLUENT 0 October 8, 2009 09:18
UDF: exporting a variable between two DEFINE function Carlo FLUENT 3 August 19, 2009 12:21

All times are GMT -4. The time now is 02:21.