Problem when imposing pressure related boundary condition

48 views
Skip to first unread message

Vincent

unread,
Jul 2, 2025, 8:47:20 AM7/2/25
to Dedalus Users
Hi,
I am trying to impose the boundary condition in doi.org/10.1017/jfm.2020.867 for Rayleigh-Benard convection. The boundary conditions are as follows:

Screenshot.png
in which, \bar{p} denotes the pressure of base state in which u=w=0. And I've implemented these boundary conditions using the following code

problem.add_equation("ez@u(z=0) + beta_u*p(z=0) = 0")
problem.add_equation("ez@u(z=Lz) - beta_u*p(z=Lz) = - beta_u*1/2")

Not sure if I am getting the pressure gauge condition wrong or setting the pressure gauge condition wrong. For now, I've just got a result (Ra=1e4, which should be large enough for onset) with a strange flow field in which no convection occurs and the hot fluid seems to "leak" through the bottom plate, 

Any guidance would be greatly appreciated.

Thanks in advance,
Vincent

Keaton Burns

unread,
Jul 2, 2025, 10:01:08 AM7/2/25
to dedalu...@googlegroups.com
Hi Vincent,

I haven’t looked too closely at the literature cited in that paper, but I think the pressure fluctuation is meant be calculated around the instantaneous horizontal mean, rather than the hydrostatic value which I think is what you have on the RHS. That is, maybe \bar{rho} should be something like integ(ρ,’x’)/Lx, and that way there is zero mean mass flux at each boundary at each point in time.

Best,
-Keaton


--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dedalus-users/68793b50-4ccf-4005-a97f-35012d6d08e6n%40googlegroups.com.


Reply all
Reply to author
Forward
0 new messages