Skip to content

Cavity Ghia validation failing (L2=0.74, Linf=1.49 at Re=100) #29

Description

@benzwick

Problem

The lid-driven cavity validation against Ghia et al. (1982) at Re=100 is failing in CI with large errors:

L2 error:   0.742539
Linf error: 1.494235
L2 < 5%: FAIL
Linf < 10%: FAIL

The ASCII plot shows the computed solution is shifted significantly from the reference data, suggesting the BCs or the solver may not be converging to the correct steady state.

Affected CI

  • Run Examples → Demo: cavity → Validate against Ghia
  • Validation Tests workflow

Possible Causes

  • Insufficient simulation time to reach steady state
  • Grid resolution too coarse (40×40 with 25 neighbors)
  • Numerical issues with the explicit Euler time stepping
  • Incorrect boundary vorticity computation

Parameters

From CI: -nx 40 -ny 40 -Re 100 -dt 0.001 -ft 30.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions