Skip to content

Commit

Permalink
Updated sub_pin_depletion test
Browse files Browse the repository at this point in the history
This test failed after patching issue idaholab#23312 because it was triggering a newly
added error check to prevent incorrect boundary stitching.
The RenameBoundaryGenerator was added to the test case to ensure that the input
MeshGenerator tiles used in CartesianIDPatternedMeshGenerator (and
PatternedMeshGenerator) have boundary names matching the default input values
'left', 'right', 'top', and 'bottom' in the PatternedMeshGenerator.
This results in correct boundary stitching.
Because the boundary stitching was previously messed up, some nodes were not
marked as identical, resulting in duplicate nodes.
The corrected mesh eliminates these duplicate nodes.
Because the original and new test meshes have differing numbers of nodes, the
exodiff between them fails.
For this reason, the gold file has been updated.
  • Loading branch information
pbehne committed Feb 13, 2023
1 parent 592af62 commit 25d5445
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
Binary file not shown.
Expand Up @@ -5,41 +5,53 @@
num_sectors_per_side = '4 4 4 4'
background_intervals = 2
polygon_size = 0.63
polygon_size_style ='apothem'
polygon_size_style = 'apothem'
ring_radii = '0.2 0.4 0.5'
ring_intervals = '2 2 1'
preserve_volumes = on
flat_side_up = true
sector_id_name = 'sector_id'
ring_id_name = 'ring_id'
[]
[pin1]
[pin1_a]
type = SubdomainExtraElementIDGenerator
input = pin1_base
subdomains = '1 2 3 4 5'
extra_element_id_names = 'material_id'
extra_element_ids = '1 1 1 8 9'
[]
[pin1]
type = RenameBoundaryGenerator
input = pin1_a
old_boundary = '10002 15002 10004 15004 10001 15001 10003 15003'
new_boundary = 'left left right right top top bottom bottom'
[]

[pin2_base]
type = PolygonConcentricCircleMeshGenerator
num_sides = 4
num_sectors_per_side = '4 4 4 4'
background_intervals = 2
polygon_size = 0.63
polygon_size_style ='apothem'
polygon_size_style = 'apothem'
ring_radii = '0.15 0.3 0.4'
ring_intervals = '2 3 1'
preserve_volumes = on
flat_side_up = true
[]
[pin2]
[pin2_a]
type = SubdomainExtraElementIDGenerator
input = pin2_base
subdomains = '1 2 3 4 5'
extra_element_id_names = 'material_id'
extra_element_ids = '2 2 2 8 9'
[]
[pin2]
type = RenameBoundaryGenerator
input = pin2_a
old_boundary = '10002 15002 10004 15004 10001 15001 10003 15003'
new_boundary = 'left left right right top top bottom bottom'
[]

[assembly]
type = CartesianIDPatternedMeshGenerator
Expand Down

0 comments on commit 25d5445

Please sign in to comment.