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

functions in UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2006, 23: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, 03: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, 11: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, 17:40
Default functions in UDF
  #4
Member
 
m.reza
Join Date: Apr 2011
Posts: 38
Rep Power: 14
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, 17:41
Default functions in UDF
  #5
Member
 
m.reza
Join Date: Apr 2011
Posts: 38
Rep Power: 14
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
define wall functions (UDF) in Fluent 6.3 Alex FLUENT 6 August 3, 2017 08:45
Plot UDF functions Mike Spears FLUENT 9 October 14, 2014 01:12
UDF Wall functions in Fluent syler3321 Fluent UDF and Scheme Programming 2 September 20, 2014 13: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 20:25


All times are GMT -4. The time now is 10:11.