Repository navigation
Examples: wall-order Taylor-Couette and plane Poiseuille - #2373
Draft
sbryngelson wants to merge 17 commits into
Draft
sbryngelson wants to merge 17 commits into
sbryngelson wants to merge 17 commits into
Conversation
|
Claude Code Review Head SHA: b91eb37 Files changed:
Findings: |
1 task done
This was referenced Nov 22, 2026
… shorten the annulus test
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution Policy
All contributions are expected to demonstrate:
If these expectations are not met, we would prefer to implement the changes ourselves rather than spend time reviewing low-effort submissions.
Summary
#2176 added
ib_wall_order = 2(two-probe quadratic wall-normal ghost velocity at no-slip walls) and reported no accuracy gain against an exact solution. This PR measures it, and adds two examples with checker scripts, READMEs and a validation page (docs/documentation/validation_wall_order_couette.md):examples/2D_ibm_plane_poiseuille: plane Poiseuille flow between two flat immersed walls, againstu = g y (H - y) / (2 nu)and its flow rate.examples/2D_ibm_taylor_couette: Taylor-Couette flow with a rotating inner circle and an STL outer ring, againstu = A r + B / rand the torque.Two registered tests,
2D -> IBM -> Taylor-Couette -> ib_wall_order=2(100 steps) and2D -> IBM -> Plane Poiseuille -> ib_wall_order=2(300 steps), are regression goldens at CI size; the checkers measure the accuracy. Tolerance 1e-10: the largest difference seen between the GNU, Intel, NVHPC and macOS CI lanes and an A100 run was 1e-13 absolute.Delta against master: master tests
ib_wall_order = 2only against goldens (Circle and Sphere); nothing checks it against an exact viscous solution.Measured (master at dd9778b, NVIDIA A100, NVHPC 25.11, double precision, 1 rank)
Order 2 is an 8 to 17 times gain at a flat wall. At the rotating curved wall the gain is 26 to 42 % in velocity and 2 to 3 times in torque, and neither order converges cleanly.
Known limits (stated on the page)
s_compute_ghost_point_velocity), which gives a 28 to 47 % inner-wall shear error that does not converge. The fix is IBM: evaluate a rotating body's ghost-cell wall velocity at the wall point #2383. The page records the numbers measured on master and labels them as measured with this defect. The annulus goldenE2C4CBC6changes when IBM: evaluate a rotating body's ghost-cell wall velocity at the wall point #2383 merges (the channel golden does not); I will regenerate it in the same order of merges.Testing
CI (GNU, Intel, NVHPC, macOS lanes) passes; the Georgia Tech lanes are the known-slow ones. Hand tests are in a comment below.
This PR was made with Claude Code (AI).