Heated square tuto 3

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
QuentinG
Posts: 26
Joined: Thu Apr 06, 2017 9:23 am

Heated square tuto 3

Post by QuentinG »

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 :
Image

Do anyone know what can be the matter ?
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Heated square tuto 3

Post by Yvan Fournier »

Hello,

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

Regards,

Yvan
QuentinG
Posts: 26
Joined: Thu Apr 06, 2017 9:23 am

Re: Heated square tuto 3

Post by QuentinG »

I think I found the mistake, the scale was not good I was using a mesh in centimeter (1*100*100) instead of meter (0.01*1*1). :lol:

I tell you back if there is other problems
Thank you
Post Reply