Skip to content

Add k-epsilon RANS turbulence model with wall functions - #59

Merged
nasserma merged 8 commits into
uw-comphys:mainfrom
arfazeli:feature/k-epsilon-turbulence-ins
Aug 14, 2026
Merged

nasserma merged 8 commits into
uw-comphys:mainfrom
arfazeli:feature/k-epsilon-turbulence-ins

Conversation

@arfazeli

Copy link
Copy Markdown
Collaborator

This PR addresses the followings:

  • Adds a k-epsilon RANS turbulence model (KEpsilonINS, subclass of INS): transport equations for turbulent kinetic energy (k) and dissipation (ε), coupled eddy viscosity, and a geometry-independent wall function (KEpsilonWallFunction) for high-Re wall treatment on arbitrary meshes.
  • Adds DG bound-preserving (Bernstein/Bezier) slope limiters for L2 scalar fields (opencmp/helpers/limiter.py), used to keep k and ε non-negative under DG discretization.
  • Adds a 2D backward-facing-step example (examples/backward_facing_step) and Tutorial 11 documentation walking through the new model end-to-end.
  • Adds unit tests for the wall function and limiter, model-level regression tests, and full-system smoke tests (CG, DG, and wall-function configurations).

Add wall-function and slope-limiter support, integrate turbulent viscosity with the INS formulation, and provide unit and full-
    system test coverage.
P1 vertex-based scaling and Bernstein/Bezier limiters for L2 DG scalar fields.
Turbulent kinetic energy and dissipation transport, wall functions, and
turbulent viscosity coupling with INS, with unit and full-system tests.
calculate velocity-based u_tau from facet-averaged tangential wall shear. retain k-based u_tau as the default method
@nasserma
nasserma merged commit 74a5c0f into uw-comphys:main Aug 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants