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

regarding turbulent viscosity..

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 28, 2006, 07:36
Default regarding turbulent viscosity..
  #1
seeta
Guest
 
Posts: n/a
hi, can any body help me to write UDF for turbulent eddy viscosity. i have written UDF but its not working... i am attaching my UDF here. can anyone find where is the mistake in UDF. Its very urgent.

turbulent viscosity is defined as "c-mue*f-mue*k*k/epsilon"

where f_mu is a damping function defined as follows

/*damping functions*/ real re_t(cell_t c,Thread *t) {

return C_R(c,t)*C_UDSI(c,t,TKE)/(C_MU_L(c,t)*C_UDSI(c,t,TSDR));

} real f_mu(cell_t c,Thread *t) {

return 0.09+(0.91+(1/pow(re_t(c,t),3.0)))*(1-exp(pow((-re_t(c,t)/25.0),2.75))); }

DEFINE_TURBULENT_VISCOSITY(eddy_vis,c,t) {

real mu_t;

mu_t=C_R(c,t)*f_mu(c,t)*C_UDSI(c,t,TKE)/C_UDSI(c,t,TSDR);

return mu_t; }

  Reply With Quote

Old   August 28, 2006, 17:12
Default Re: regarding turbulent viscosity..
  #2
cadaei
Guest
 
Posts: n/a
i compiled the UDF with no problems provided that i specified TKE and TSDR. Can you compile the UDF?
  Reply With Quote

Old   August 29, 2006, 09:43
Default Re: regarding turbulent viscosity..
  #3
seeta
Guest
 
Posts: n/a
hi yah i can compile with out any errors but we are giving iterations then fatal erroe is coming in fluent interface.

  Reply With Quote

Old   August 30, 2006, 02:40
Default Re: regarding turbulent viscosity..
  #4
Mark
Guest
 
Posts: n/a
Did you define user defined scalars?
  Reply With Quote

Old   August 30, 2006, 06:33
Default Re: regarding turbulent viscosity..
  #5
seeta
Guest
 
Posts: n/a
yah i have defined for turbulent kinetic energy and specific dissipation rate

  Reply With Quote

Old   August 30, 2006, 09:47
Default Re: regarding turbulent viscosity..
  #6
Mark
Guest
 
Posts: n/a
Want to start at the beginning - can you compile and run other UDF's that are known to work?

  Reply With Quote

Old   September 5, 2006, 03:57
Default Re: regarding turbulent viscosity..
  #7
seeta
Guest
 
Posts: n/a
hi yah i compiled all other udfs which i know ..........they are all working well
  Reply With Quote

Old   September 15, 2006, 06:11
Default Re: regarding turbulent viscosity..
  #8
Purushotham
Guest
 
Posts: n/a
Hi seeta u seems to be more familiar with FLUENT...can u suggest me which model is the best accurate to simulate flow in ducts of varying cross section like bends, sudden expansion, sudden contraction etc..I hope u r aware of the minor loss coefficient..most the ealier workers who have worked on duct flow analysis they have given some empirical formulae to finding out the loss coefficient called "K"..now the question is using fluent can i get the loss coefficient values in comparision with the ealier empirical formulae...ur help in this regard is highly appreciated..thanks and regards... Purushotham
  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
reversed flow at pressure inlet and turbulent viscosity is limited.... cfdiscool FLUENT 10 June 10, 2015 06:15
k-epsilon problem: non-physical turbulent viscosity production in coaxial free-jet Felipeb Main CFD Forum 1 July 26, 2010 17:02
Turbulent viscosity and shear rate shib FLUENT 0 June 22, 2010 12:44
setting value of turbulent intensity and turbulent viscosity ratio in wind tunnel nuimlabib Main CFD Forum 0 August 4, 2009 00:05
Problem of Turbulent Viscosity Ratio Limited David Yang FLUENT 3 June 3, 2002 06:13


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