Constant bulk temperature with periodicity

Miscellaneous discussion topics about Code_Saturne (development, ...)
Post Reply
s marco
Posts: 11
Joined: Fri Feb 14, 2020 3:59 pm

Constant bulk temperature with periodicity

Post by s marco »

Dear all,
I am running a bare rode bundle case at Re_t=550 and Pr=0.031 in code_saturne v4. A constant heat flux is imposed to the walls and all the other boundaries are periodic.
For this case, I am using a true periodicity condition and a momentum source term to ensure the bulk flow velocity; so the velocity field it is exactly what I am expecting.
Moreover I have to impose a source term in the energy equation that allows to have constant bulk temperature but seem not to work and the temperature is always increasing.

Does someone knows how to set it up?

Best regards,
(16.65 KiB) Downloaded 427 times
Yvan Fournier
Posts: 4099
Joined: Mon Feb 20, 2012 3:25 pm

Re: Constant bulk temperature with periodicity

Post by Yvan Fournier »


Usage questions about code_saturne v4 should be in the usage forum, not "general discussion", so i may move this post later (i.e. if you do not find it anymore, look in the main usage forum).

I am not sure why your temperature increases, but I recommend comparing (i.e. logging) the amount of energy you add or remove with the user source term to the global balance in the computation. The global balance can be activated in the GUI (though not in version 4.0, which is not maintained anymore,).

Best regards,

Post Reply