Heated square tuto 3

Hello everyone,

I’m doing the tuto about heated square cavity flow.
The fact is when i modify the density :
b=0.0033;
tref=293.15;
density = rho0*(1-b*(temperature-tref));

My calculation is not converging, i plotted the density graph here it is :

Do anyone know what can be the matter ?

Hello,

This may be due to different causes, but I can’t guess at which without more information.

Regards,

Yvan

I think I found the mistake, the scale was not good I was using a mesh in centimeter (1100100) instead of meter (0.0111). :laughing:

I tell you back if there is other problems
Thank you