CFD Online Logo CFD Online URL
Home > Forums > FLUENT

about turbulent viscosity UDF!

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

LinkBack Thread Tools Display Modes
Old   September 28, 2009, 17:08
Default about turbulent viscosity UDF!
Join Date: Apr 2009
Posts: 56
Rep Power: 10
gina is on a distinguished road
Hello everybody. I would be really grateful if any of you could address me on how to create an UDF to change the turbulent viscosity (hence k+ formula), only on a portion of my domain. I have been trying the following:


/************************************************** ********************

UDF pour la vitesse et la viscosité turbulente
************************************************** ********************/

#include "udf.h"

//udf de viscosité turbulente//


real x[ND_ND];

real y;

real mu_t,yp,utau,nu,…..;



if (yp <= 20) {

mu_t =……….

return mu_t;



which I have interpreted and my program converged, by my result of k+=f(y+) is not correct.

I do not know if fluent takes into consideration that k also changes with the change of mu_turbulent or not?
gina is offline   Reply With Quote


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
UDF for Turbulent Viscosity Lourival Fluent UDF and Scheme Programming 3 October 13, 2012 03:09
subgrid turbulent viscosity for UDF in LES David TAIEB FLUENT 0 April 2, 2007 08:27
UDF of Turbulent viscosity justin FLUENT 0 November 24, 2006 07:36
Turbulent Viscosity UDF Raphael FLUENT 2 January 23, 2006 05:04

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