CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Problem setting C_MU_T with DEFINE_ADJUST

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

LinkBack Thread Tools Display Modes
Old   February 14, 2005, 02:33
Default Problem setting C_MU_T with DEFINE_ADJUST
Posts: n/a
Problem setting C_MU_T with DEFINE_ADJUST

Posted By: Andy Date: Mon, 9 Aug 2004, 7:34 a.m.


im trying to change turbulent viscosity (for an extension of the ke-model; DEFINE_TURBULENT_VISCOSITY is not accessible in Eulerian multiphase) in the Eulerian model using UDF. I'm using a DEFINE_ADJUST , but I get an error message when I compile my code.

The compiler tells me: error C2106: '=' :left operand must be l-value

DEFINE_ADJUST(turb_adjust, d) { Thread *t; cell_t c;

thread_loop_c (t,d)




begin_c_loop_all (c,t)


C_MU_T(c,t) = 1; /*C_MU_L works!*/


end_c_loop_all (c,t)


} }

Same error occurs for C_MU_EFF. But if i use the C_MU_L no problem (or C_R(c,t))! So wheres the problem with the eddy viscosity?

I hope someone can help me out off this! Thanks.


  Reply With Quote

Old   February 24, 2005, 13:11
Default Re: Problem setting C_MU_T with DEFINE_ADJUST
Posts: n/a
no one replies,sigh~~~~~~
  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
Problem setting C_MU_T with DEFINE_ADJUST Andy FLUENT 2 July 30, 2014 05:05
Problem in setting porosity region for rhoPorousSimpleFoam run_cfd OpenFOAM Pre-Processing 1 May 31, 2011 09:02
les setting problem, urgent Frank FLUENT 0 February 6, 2006 22:13
Problem setting AV Marko CFX 0 March 18, 2005 09:06
Help setting up combustor problem Tom FLUENT 0 February 5, 2005 02:20

All times are GMT -4. The time now is 03:59.