CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Accessing function definitions for UDF (http://www.cfd-online.com/Forums/fluent/29352-accessing-function-definitions-udf.html)

Karl February 12, 2002 17:07

Accessing function definitions for UDF
 
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.

Greg Perkins February 12, 2002 20:38

Re: Accessing function definitions for UDF
 
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

Bob February 14, 2002 09:29

Online UDF function library
 
Why not create an independent UDF function definition library available in an online library? Or would it be frowned upon by Fluent?


All times are GMT -4. The time now is 02:33.