Skip to content

h-refinement #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 11, 2025
Merged

h-refinement #2

merged 13 commits into from
Jun 11, 2025

Conversation

yslan
Copy link
Owner

@yslan yslan commented Jun 9, 2025

On-the-fly oct-tree mesh refinement.

  • Controlled in par file. To split all elements into 8, simply put number of the segment into the par key like this:

    [GENERAL]
    refine = 2
    
  • Support multiple refinements: The below will do two rounds of refinement with 1-> 8 -> 8*27

    [GENERAL]
    refine = 2,3
    
  • Supports restart from original (or other coarse) mesh controlled by the restart option refine=a;b;c.
    startFrom = "r1.fld+refine=2" refines the fields from the checkpoint file.
    startFrom = "r1.fld+refine=2;3" does twice refinement with refein=2 follows by refine=3. (order will affect element numbering matters).
    It works with other options as well such as startFrom = "r1.fld+U+refine=2"
    Refinement + restart doesn't support Adios for now.

  • Refinement is local inside MPI rank so load imbalance (i.e., max(nel) - max(nel) > 1) can happen.

  • See ethier example ciMode=24,25,26,27.

  • Add [MESH] maxElements par key to set lelg in nek5000/SIZE, which gives more flexibility in CI test.

CI

@yslan yslan merged commit f3cb215 into yslan/aurora-dev Jun 11, 2025
9 checks 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.

1 participant