|
[Sponsors] |
April 25, 2020, 04:56 |
UDF macros FULL list not available
|
#1 |
New Member
Lee Jo
Join Date: Mar 2020
Posts: 29
Rep Power: 6 |
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.. |
|
April 25, 2020, 11:32 |
UDF Macro List
|
#2 |
Senior Member
|
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
__________________
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. |
|
April 25, 2020, 11:37 |
|
#3 |
New Member
Lee Jo
Join Date: Mar 2020
Posts: 29
Rep Power: 6 |
Is it necessary to install Microsoft Visual Studio to use these macros??! Will there be any debugging errors??
|
|
April 25, 2020, 12:52 |
Compiler
|
#4 |
Senior Member
|
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.
__________________
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. |
|
|
|
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 |