Skip to content

h-refinement#2

Merged
yslan merged 13 commits into
yslan/aurora-devfrom
yslan/refine
Jun 11, 2025
Merged

h-refinement#2
yslan merged 13 commits into
yslan/aurora-devfrom
yslan/refine

Conversation

@yslan

@yslan yslan commented Jun 9, 2025

Copy link
Copy Markdown
Owner

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