Changing turbulent viscosity
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.
|All times are GMT -4. The time now is 20:18.|