Graded mesh near two boundaries with genbox

26 views
Skip to first unread message

Michael Calkins

unread,
Jul 19, 2025, 1:20:53 PMJul 19
to Nek5000
Hello,

I'm running three-dimensional simulations of Rayleigh-Bénard convection and I'd like to cluster (grade) the mesh near both the top and bottom boundaries. Is there a mechanism to do this with "genbox"? I see that setting the ratio in the .box file to less than unity will cluster near one boundary only. Any information would be appreciated. Thanks!

Michael 

Chinthaka Jacob

unread,
Jul 20, 2025, 5:36:11 PMJul 20
to Nek5000
Hi Michael,

  I am not an expert on this, but one possible workaround might be to define two adjoining boxes, with the interior (E) boundary condition, along the vertical (top-bottom) direction: one with a ratio less than one (to cluster towards the bottom) and the other with a ratio greater than one (to cluster towards the top).

Chinthaka.
Reply all
Reply to author
Forward
0 new messages