code-saturne / code_saturne

code_saturne public mirror
https://www.code-saturne.org
GNU General Public License v2.0
223 stars 82 forks source link

trasnposed gradient and secondary viscosity terms to be multiplied by idiff ? #15

Closed rbresson closed 6 years ago

rbresson commented 6 years ago

Hello,

I noticed that even if I disable diffusion for the velocity, the trasnposed gradient and secondary viscosity terms are still taken into account.

Indeed, they are not multiplied by idiff in cs_convection_diffusion.c

Is that the expected behaviour ? It does not seem right to me.

Thanks

Raphael

rbresson commented 6 years ago

I just saw that it has been corrected in version 5.2. I was working with version 5.0. So I guess you can close the topic.

YvanFournier commented 6 years ago

Hello,

As modifying the behavior of 5.0 (stable) would be risky, I'll simply close the issue.