heated square cavity: compressible

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Erwan Le Coupanec
Posts: 45
Joined: Sun Sep 08, 2013 8:50 pm

Re: heated square cavity: compressible

Post by Erwan Le Coupanec »

Hello,

You absolutely have to enable the "hydrostatic equilibrium for pressure at walls".

For your given set of parameters (with the physical value of the gravity) a square length of 0.08 should do to obtain a Rayleigh of 1e+6.

Then some other choices might help, initialize velocity at a non-zero, increase the time step.

Also I don't know why you tried to enable the time step limitation with the local thermal time step, but I think you don't need it here.

To modify the square length, use the cs_user_mesh.c, I send you with this message. So that you won't have to regenerate a mesh.

Regards,
Erwan.
Attachments
cs_user_mesh-modify.c
(3.82 KiB) Downloaded 405 times
Post Reply