Skip to content
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

Supporting interface boundary ID re-assignment in Patterned MeshGenerators #26921

Closed
yjung-anl opened this issue Feb 28, 2024 · 0 comments · Fixed by #26922
Closed

Supporting interface boundary ID re-assignment in Patterned MeshGenerators #26921

yjung-anl opened this issue Feb 28, 2024 · 0 comments · Fixed by #26922
Assignees
Labels
C: Modules/Reactor Tickets pertaining to the reactor module T: task An enhancement to the software.

Comments

@yjung-anl
Copy link
Contributor

Reason

PolygonConcentricCircleMeshGenerator, PatternedHexMeshGenerator and PatternedCartesianMeshGenerator provide an option to assign a set of interface boundary IDs (See Interface boundaries section in HERE).
When the pattern cells generate by PolygonConcentricCircleMeshGenerator are stitched into a lattice, interface boundary IDs on these input pattern cells will be assigned to each lattice cells as well. Unless users creates the separate pattern cells for each lattice location with unique interface boundary IDs, the identical interface boundary IDs will be shared for the lattice cell locations of having the same pattern cell type.
It is very inconvenient to users to create individual pattern cells in order to make interface boundary IDs unique for each lattice cell location.
We need to introduce a way to customize interface boundary IDs for individual lattice cell locations.

Design

To customize the interface boundary IDs for each lattice cell location, the user can define values of boundary ID shift for each lattice cell location in a two-dimensional vector form:

  [pattern_aclp]
    type = PatternedHexMeshGenerator
    inputs = 'aclp_hex_1'
    pattern_boundary = none
    generate_core_metadata = false
    pattern = '0 0;
              0 0 0;
               0 0'
    interface_boundary_id_shift_pattern = '1000 2000;
                                         3000 4000 5000;
                                           6000 7000'
  []

These shift values, specified by interface_boundary_id_shift_pattern, are applied to each lattice cell location during the stitching process.

Impact

Patterned MeshGenerators will support an option to customize interface boundary IDs for individual lattice cell locations without defining multiple and duplicated pattern cell inputs.

@yjung-anl yjung-anl added the T: task An enhancement to the software. label Feb 28, 2024
@lindsayad lindsayad added the C: Modules/Reactor Tickets pertaining to the reactor module label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Modules/Reactor Tickets pertaining to the reactor module T: task An enhancement to the software.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants