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

Accessing function definitions for UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2002, 17:07
Default Accessing function definitions for UDF
  #1
Karl
Guest
 
Posts: n/a
I notice that some udf's I have seen seem to access functions that I assume are defined as macros by fluent for users to implement. For instance, in a piece of a udf given to me that I am planning to use, the following two lines are written:

Compute_L_sgs(C_VOLUME(c,t),C_WALL_DIST(c,t),C_Cen troid_Y(c,t));

real S = Strainrate_Mag(c,t)

I see in the udf help manual what the functions C_VOLUME(c,t) means, however, I cannot find anywhere any documentation on C_WALL_DIST(), C_Centroid(), or Compute_L_sgs().

Where do I go to find details on each of these functions / variables? The udf manual seems to explain only a limited number of functions for access to the various solver variables?

Thanks in advance.
  Reply With Quote

Old   February 12, 2002, 20:38
Default Re: Accessing function definitions for UDF
  #2
Greg Perkins
Guest
 
Posts: n/a
Good Luck!

Fluent hasn't (and probably won't) give a complete list of the internal variables used in Fluent and what they mean (in a way fair enough - what you're asking for is a complete documentation of the code structures).

However, if you know what you want to know (!!) then you can request this from Fluent. They generally provide the required functions etc.

Of course, we would all like to see more of the common functions/macros/variables documented more thoroughly. Just keep asking them.....

Alternatively post your questions here - some people know quite a lot. But the best resource, is Fluent.

Greg
  Reply With Quote

Old   February 14, 2002, 09:29
Default Online UDF function library
  #3
Bob
Guest
 
Posts: n/a
Why not create an independent UDF function definition library available in an online library? Or would it be frowned upon by Fluent?
  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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 13:00.