CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   I need a UDF (http://www.cfd-online.com/Forums/fluent-udf/50482-i-need-udf.html)

Jorge Poyatos February 5, 2009 06:48

I need a UDF
 
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

person February 5, 2009 09:33

Re: I need a UDF
 
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; }


Jorge Poyatos February 5, 2009 16:21

Re: I need a UDF
 
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!

chengshaojie March 24, 2009 21:55

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

srjp March 25, 2009 02:00

I have sent you the UDF52, to your email address.
Please check your email and acknowledge.

chengshaojie March 25, 2009 07:39

Thank you, sir.
I have received your email.
Thank you again!

liuxub@hotmail April 30, 2014 06:22

dear sir,i need it yet,do you send it to my email address,jdliuxin@163.com,thank you sir,


All times are GMT -4. The time now is 09:41.