|
[Sponsors] |
March 22, 2010, 16:50 |
UDF macro reference manual
|
#1 |
Member
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 16 |
I am trying to get starting using a UDF in Fluent to change the geometry of my model as a function of time. There does not seem to be any reference guide in the FLUENT manuals for the types, data structures, and special functions used in the DEFINE_macros.
For instance, in one sample program, beam.c from section 2.6.3 of the UDF Manual, there are such things as SET_DEFORMING_THREAD_FLAG(), NV_S(), and Message(), for which I can find no definitions or explanations. Trying to infer their function from the sample programs seems a really haphazard way of presenting the information. Is there a comprehensive listing of the tools to use in DEFINE_macros? |
|
March 23, 2010, 12:33 |
|
#2 |
Member
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 16 |
in particular, I would like to know about the following functions (and related functions) used in the sample programs
begin_f_loop() f_node_loop() F_NODE() NODE_Z() NODE_POS_UPDATED() Where are these defined? |
|
March 24, 2010, 11:40 |
|
#3 |
Senior Member
MASOUD
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Check section 3.3 for looping macros.
Or just search a word of the aforementioned macros in your PDF file. You'll find them. |
|
March 24, 2010, 11:53 |
|
#4 |
Member
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 16 |
Thanks. I'm not sure how I missed a whole section of the manual. I've been using the html version, which did not return search results for any of the above. Maybe the PDF's are better.
|
|
Tags |
define_, define_grid_motion, macro, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
some UDF macro | duaiduaihu | FLUENT | 0 | July 9, 2009 00:00 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 10:38 |
Building OpenFoAm on SGI Altix 64bits | anne | OpenFOAM Installation | 8 | June 15, 2006 10:27 |
UDF macro for surface tension coefficient | Frederik | FLUENT | 2 | May 30, 2005 11:54 |