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

I need a UDF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 5, 2009, 05:48
Default I need a UDF
  #1
Jorge Poyatos
Guest
 
Posts: n/a
could someone send me the UDF 52 please, I do not have access to fluent users and i really need it!

send it to my mail
  Reply With Quote

Old   February 5, 2009, 08:33
Default Re: I need a UDF
  #2
person
Guest
 
Posts: n/a
Is this the one? Or you could provide me with the exact function that you are looking for.

The following UDF, named user_log_law, computes U+ and dU+, and dY+ for laminar and turbulent regions using DEFINE_WALL_FUNCTIONS. The source code can be interpreted or compiled in FLUENT.

/************************************************** **************** User-defined wall functions: separated into turbulent and laminar regimes /************************************************** ***************/ #include "udf.h"

DEFINE_WALL_FUNCTIONS(user_log_law, f, t, c0, t0, wf_ret, yPlus, Emod) { real wf_value;

switch (wf_ret)

{

case UPLUS_LAM:

wf_value = yPlus;

break;

case UPLUS_TRB:

wf_value = log(Emod*yPlus)/KAPPA;

break;

case DUPLUS_LAM:

wf_value = 1.0;

break;

case DUPLUS_TRB:

wf_value = 1./(KAPPA*yPlus);

break;

case D2UPLUS_TRB:

wf_value = -1./(KAPPA*yPlus*yPlus);

break;

default:

printf("Wall function return value unavailable\n");

} return wf_value; }

  Reply With Quote

Old   February 5, 2009, 15:21
Default Re: I need a UDF
  #3
Jorge Poyatos
Guest
 
Posts: n/a
Thanks for your help,

I need a function to define the drag coefficient, it is named "magelli correction" and is necessary to simulate a turbulent eulerian granular flow.

I got a paper from fluent where it is explained. It also says that the UDF is available in fluent users (Fluent UDF Archive UDF52).

I hope you have information enough now,

Thank you again!
  Reply With Quote

Old   March 24, 2009, 21:55
Default
  #4
New Member
 
chengshaojie
Join Date: Mar 2009
Posts: 4
Rep Power: 7
chengshaojie is on a distinguished road
dear sir ,
could someone send me the file at www.fluentusers.com/udf_archive/udf_examples/UDF52.htm please. i cannot access to it, thank you.
my e-mail:chengshaojie9856@yahoo.cn
chengshaojie is offline   Reply With Quote

Old   March 25, 2009, 02:00
Default
  #5
Member
 
JP
Join Date: Mar 2009
Posts: 57
Rep Power: 8
srjp is on a distinguished road
I have sent you the UDF52, to your email address.
Please check your email and acknowledge.
srjp is offline   Reply With Quote

Old   March 25, 2009, 07:39
Default
  #6
New Member
 
chengshaojie
Join Date: Mar 2009
Posts: 4
Rep Power: 7
chengshaojie is on a distinguished road
Thank you, sir.
I have received your email.
Thank you again!
chengshaojie is offline   Reply With Quote

Old   April 30, 2014, 06:22
Default
  #7
New Member
 
刘欣
Join Date: Apr 2014
Posts: 7
Rep Power: 2
liuxub@hotmail is on a distinguished road
dear sir,i need it yet,do you send it to my email address,jdliuxin@163.com,thank you sir,
liuxub@hotmail 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



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