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

Changing turbulent viscosity

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2003, 16:25
Default Changing turbulent viscosity
  #1
ap
Guest
 
Posts: n/a
I'm trying to change turbulent viscosity of the gas phase in the Eulerian model using UDF.

I'm using a DEFINE_ADJUST to do that, but I get an error message when I compile my code.

The compiler tells me:

(172) : error C2106: '=' : left operand must be l-value

where line 172 is

C_MU_T(cell, pt[GAS_PHASE_INDEX]) = my_visc;

The error doesn't happen if I try to read the turbulent viscosity value.

It seems like I can't change it's value.

Any advice is really appreciated.

Hi

ap
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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
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
Problems with changing turbulent viscosity by UDF sarah_ron FLUENT 0 February 14, 2005 00:31
Problem of Turbulent Viscosity Ratio Limited David Yang FLUENT 3 June 3, 2002 06:13


All times are GMT -4. The time now is 16:34.