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

UDF macros FULL list not available

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By vinerm
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2020, 04:56
Default UDF macros FULL list not available
  #1
New Member
 
Lee Jo
Join Date: Mar 2020
Posts: 29
Rep Power: 6
the_sixth_hokage is on a distinguished road
Hi..

Does anyone have a full list of UDF macros...the UDF manuals doesn't seem to have the entire list..


I need to access molecular weight, critical volume, critical temperature, critical pressure, acentric factor, dipole moment etc...is there any property macros for this..
the_sixth_hokage is offline   Reply With Quote

Old   April 25, 2020, 11:32
Default UDF Macro List
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
That list would be pretty long, hence, not documented. However, all of this is available in header files under ansys_inc/vXXX/fluent/fluentXX.Y.Z/src

Properties are accessible via Material and Property and generic_property function. Look at the Example 2 at

https://www.afs.enea.it/project/nept...udf/node46.htm
the_sixth_hokage likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   April 25, 2020, 11:37
Default
  #3
New Member
 
Lee Jo
Join Date: Mar 2020
Posts: 29
Rep Power: 6
the_sixth_hokage is on a distinguished road
Is it necessary to install Microsoft Visual Studio to use these macros??! Will there be any debugging errors??
the_sixth_hokage is offline   Reply With Quote

Old   April 25, 2020, 12:52
Default Compiler
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
On Windows, MS VS is the only supported compiler. Some of these can work with the inbuilt Interpreter, however, the Interpreter cannot handle structures and references. So, if you want to use Materials, Properties, etc., you will have to install MS VS or MS Build Tools. Both are available freely from MS.
the_sixth_hokage likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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
UDF for Automatic Solution Initialization for previous case data file gartz89 Fluent UDF and Scheme Programming 6 March 30, 2020 08:38
[swak4Foam] swak4Foam-groovyBC build problem zxj160 OpenFOAM Community Contributions 18 July 30, 2013 14:14
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 01:52
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
udf error in some macros Asghari FLUENT 0 August 7, 2006 02:10


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