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

UDF macro reference manual

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2010, 16:50
Question UDF macro reference manual
  #1
TDi
Member
 
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 16
TDi is on a distinguished road
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?
TDi is offline   Reply With Quote

Old   March 23, 2010, 12:33
Default
  #2
TDi
Member
 
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 16
TDi is on a distinguished road
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?
TDi is offline   Reply With Quote

Old   March 24, 2010, 11:40
Default
  #3
Senior Member
 
MASOUD
Join Date: Mar 2009
Posts: 102
Rep Power: 17
MASOUD is on a distinguished road
Check section 3.3 for looping macros.

Or just search a word of the aforementioned macros in your PDF file. You'll find them.
MASOUD is offline   Reply With Quote

Old   March 24, 2010, 11:53
Default
  #4
TDi
Member
 
Tim Diller
Join Date: Mar 2010
Location: Austin, TX
Posts: 32
Rep Power: 16
TDi is on a distinguished road
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.
TDi is offline   Reply With Quote

Reply

Tags
define_, define_grid_motion, macro, udf


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
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


All times are GMT -4. The time now is 14:58.