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

functions in UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 1, 2006, 22:43
Default functions in UDF
  #1
Lucy
Guest
 
Posts: n/a
Hi all I read an example in the UDF manual as follow:

DEFINE_PRANDTL_K(user_pr_k,c,t) { real pr_k, alpha; real mu = C_MU_L(c,t); real mu_t = C_MU_T(c,t); alpha = rng_alpha(1., mu + mu_t, mu); pr_k = mu_t/((mu+mu_t)*alpha-mu); return pr_k; }

I couldn't find the definition of the funcion rng_alpha()in the manual. I could guess how does this function work, but I want to know how many else functions like this are there in fluent, and where to find the definitions of functions like this ?
  Reply With Quote

Old   April 3, 2006, 02:43
Default Re: functions in UDF
  #2
Markus
Guest
 
Posts: n/a
Hi Lucy Have a look at the header files in the "src" directory of your Fluent installation for rng_alpha and you should get some hits. Maybe try mem.h first or search udf.h with all headers included there. Markus
  Reply With Quote

Old   April 3, 2006, 10:40
Default Re: functions in UDF
  #3
Lucy
Guest
 
Posts: n/a
Thanks Markus! I have read these header files and I found them very difficult to understand. They are written without notes. How do you get useful information from these header files? For example, the function "rng_alpha". How do you know its usage (its parameter and what it returns)since the header file "mem.h" doesn't explain it? Thank you very much for help!

Lucy
  Reply With Quote

Old   April 14, 2011, 16:40
Default functions in UDF
  #4
New Member
 
m.reza
Join Date: Apr 2011
Posts: 18
Rep Power: 6
m.reza is on a distinguished road
Hi dear Lucy
I have your problem in Prandtl-udf about the function "rng_alpha"
I have read these header files in the "src" directory of my Fluent installation for rng_alpha ,but I don't underestand anything special for "rng_alpha".
Can you help me about written rng_alpha in the udf?
Thank you very much for help!
m.reza is offline   Reply With Quote

Old   April 14, 2011, 16:41
Default functions in UDF
  #5
New Member
 
m.reza
Join Date: Apr 2011
Posts: 18
Rep Power: 6
m.reza is on a distinguished road
Hi dear Lucy
I have your problem in Prandtl-udf for the function "rng_alpha"
I have read these header files in the "src" directory of my Fluent installation for rng_alpha ,but I don't underestand anything special for "rng_alpha".
Can you help me about written rng_alpha in the udf?
Thank you very much for help!
m.reza is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plot UDF functions Mike Spears FLUENT 9 October 14, 2014 00:12
UDF Wall functions in Fluent syler3321 Fluent UDF and Scheme Programming 2 September 20, 2014 12:37
define wall functions (UDF) in Fluent 6.3 Alex FLUENT 3 September 20, 2014 12:37
Help! where to find full UDF Macros and functions kim FLUENT 6 March 5, 2014 10:01
UDF Wall functions conundrum syler3321 FLUENT 0 June 18, 2011 19:25


All times are GMT -4. The time now is 01:19.