HPC Tier Module

Rayleigh-Benard Convection

2D Rayleigh-Benard convection with the free-slip onset Ra_c validated against its closed form.

Worked example: Sub-critical (Ra 500, no convection, Nu~1)
Inputs
Rayleigh number Ra500
Prandtl number Pr1
Box aspect (width / depth)2.83
Plate boundary condition (onset reference)free_slip
Grid cells (horizontal, nx)64
Grid cells (vertical, ny)48
End time (thermal diffusion times)0.4
Result

Ra = 500.00 (Ra/Ra_c = 0.76, free-slip Ra_c = 657.51): below onset (conduction expected). Measured steady Nusselt Nu = 1.0000 (pure conduction, Nu ~ 1). Nusselt steadiness NUSTEADY_SETTLED_3 (relative spread 7.96e-8). GeoNum trust UNRELIABLE from 16746740.69 shades of measured drift on the steady-Nu subtraction - a conditioning signal on the arithmetic, NOT extra precision.

Rayleigh number Ra500.00
Prandtl number Pr1.000
Critical Ra_c used (free-slip, solver BC)657.5114 [= 27 pi^4 / 4]
Reference Ra_c (free_slip)657.5114 (free-slip)
Ra / Ra_c (free-slip)0.760 -> below onset (conduction expected)
Steady Nusselt Nu (late-time mean)1.0000
Convective enhancement Nu - 10.0000
Measured regimeconduction (Nu ~ 1)
Linear theory vs measurementconsistent (onset prediction matches Nu)
Grid64 x 48 (aspect 2.83, dt 2.83e-5, 14138 steps)
Max flow speed |u|0.0070
Nusselt steadinessNUSTEADY_SETTLED_3 (relative spread over the final quarter 7.963e-8)

Computed by Rayleigh-Benard Convection v1.0.0, the same plugin code the GDBS app runs, when this page was built. To run it on your own figures, open it in GDBS HPC.

The problem

Convection studies need a quick way to see roll onset and heat transport, but the critical Rayleigh number depends on the plate boundary condition and the box - a mismatch silently misleads, and full CFD codes are heavy to stand up.

The local-first solution

This solver integrates 2D Boussinesq convection in vorticity-streamfunction form in your browser, measures the Nusselt heat-transport number over the run, and validates the onset against the exact free-slip Ra_c = 27 pi^4/4, always surfacing which Ra_c governs the run. Deterministic f64 math, nothing uploaded.

What it does

Vorticity-transport, temperature, and streamfunction equations on a periodic box
2nd-order centered finite differences with an SOR/Jacobi Poisson solve for psi
Explicit RK2 time march of the Boussinesq system
Nusselt number Nu measured over the run with the late-time steady value reported
Free-slip onset validated against the exact Ra_c = 27 pi^4/4 (~657.51)
GeoNum drift probe on the relative change of Nu to gauge whether the steady state has settled

Honest scope

EXACT: the centered operators, the Poisson solve, the RK2 march, the Nusselt integral, and the closed-form free-slip onset. Ra_c is boundary-condition and box dependent - the rigid-rigid 1707.76 figure is reported for reference but the solver imposes free-slip, and it surfaces which Ra_c it used. NOT modeled: 3D, non-Boussinesq/compressible effects, rotation/magnetic fields, no-slip plates in the nonlinear solver, or high-Ra turbulent scaling; coarse grids under-resolve boundary layers (flagged). A prototype, not a production CFD code.

Authorities cited

Get an email when tools like this one change

Leave your email and we will tell you when we add or update Numerics & Tools tools like this one, at most once a month.

We email you once to confirm. After that, unsubscribe from any issue in one click. Your address goes to VaultSync only (privacy).

Related tools

Measure heat transport with a validated onset

Run the convection solve in your browser with nothing uploaded, then route the Nusselt curve and onset check into a Sandbox workspace or attach them to a Worklog case.

GDBS by VaultSync Solutions Inc. - Verifiable Computation. gdbs.getvaultsync.com