|
[Sponsors] |
August 28, 2006, 07:36 |
regarding turbulent viscosity..
|
#1 |
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; } |
|
August 28, 2006, 17:12 |
Re: regarding turbulent viscosity..
|
#2 |
Guest
Posts: n/a
|
i compiled the UDF with no problems provided that i specified TKE and TSDR. Can you compile the UDF?
|
|
August 29, 2006, 09:43 |
Re: regarding turbulent viscosity..
|
#3 |
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.
|
|
August 30, 2006, 02:40 |
Re: regarding turbulent viscosity..
|
#4 |
Guest
Posts: n/a
|
Did you define user defined scalars?
|
|
August 30, 2006, 06:33 |
Re: regarding turbulent viscosity..
|
#5 |
Guest
Posts: n/a
|
yah i have defined for turbulent kinetic energy and specific dissipation rate
|
|
August 30, 2006, 09:47 |
Re: regarding turbulent viscosity..
|
#6 |
Guest
Posts: n/a
|
Want to start at the beginning - can you compile and run other UDF's that are known to work?
|
|
September 5, 2006, 03:57 |
Re: regarding turbulent viscosity..
|
#7 |
Guest
Posts: n/a
|
hi yah i compiled all other udfs which i know ..........they are all working well
|
|
September 15, 2006, 06:11 |
Re: regarding turbulent viscosity..
|
#8 |
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
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |