forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix for using flexible assembly patterning when AssemblyMeshGener…
…ator is the final generator, refs idaholab#29826
- Loading branch information
1 parent
e5db198
commit a7db00e
Showing
4 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
88 changes: 88 additions & 0 deletions
88
modules/reactor/test/tests/meshgenerators/assembly_mesh_generator/assembly_hex_flexible.i
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
[Mesh] | ||
[rmp] | ||
type = ReactorMeshParams | ||
dim = 2 | ||
geom = "Hex" | ||
assembly_pitch = 7.10315 | ||
flexible_assembly_stitching = true | ||
region_id_as_block_name = true | ||
[] | ||
|
||
[pin1] | ||
type = PinMeshGenerator | ||
reactor_params = rmp | ||
pin_type = 1 | ||
pitch = 1.42063 | ||
num_sectors = 2 | ||
ring_radii = '0.2' | ||
duct_halfpitch = '0.68' | ||
mesh_intervals = '1 1 1' | ||
quad_center_elements = true | ||
region_ids='1 2 5' | ||
[] | ||
|
||
[pin2] | ||
type = PinMeshGenerator | ||
reactor_params = rmp | ||
pin_type = 2 | ||
pitch = 1.42063 | ||
num_sectors = 2 | ||
mesh_intervals = '2' | ||
region_ids='3' | ||
quad_center_elements = true | ||
[] | ||
|
||
[amg] | ||
type = AssemblyMeshGenerator | ||
assembly_type = 1 | ||
inputs = 'pin1 pin2' | ||
pattern = '1 1; | ||
1 0 1; | ||
1 1' | ||
background_intervals = 1 | ||
background_region_id = '6' | ||
duct_halfpitch = '3.5' | ||
duct_region_ids = '7' | ||
duct_intervals = '1' | ||
[] | ||
[] | ||
|
||
[Problem] | ||
solve = false | ||
[] | ||
|
||
[Executioner] | ||
type = Steady | ||
[] | ||
|
||
[Postprocessors] | ||
[area_reg1] | ||
type = VolumePostprocessor | ||
block = "RGMB_ASSEMBLY1_REG1" | ||
[] | ||
[area_reg2] | ||
type = VolumePostprocessor | ||
block = "RGMB_ASSEMBLY1_REG2" | ||
[] | ||
[area_reg3] | ||
type = VolumePostprocessor | ||
block = "RGMB_ASSEMBLY1_REG3" | ||
[] | ||
[area_reg5] | ||
type = VolumePostprocessor | ||
block = "RGMB_ASSEMBLY1_REG5" | ||
[] | ||
[area_reg6] | ||
type = VolumePostprocessor | ||
block = "RGMB_ASSEMBLY1_REG6" | ||
[] | ||
[area_reg7] | ||
type = VolumePostprocessor | ||
block = "RGMB_ASSEMBLY1_REG7_TRI" | ||
[] | ||
[] | ||
|
||
[Outputs] | ||
csv = true | ||
execute_on = 'FINAL' | ||
[] |
2 changes: 2 additions & 0 deletions
2
...ctor/test/tests/meshgenerators/assembly_mesh_generator/gold/assembly_hex_flexible_out.csv
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
time,area_reg1,area_reg2,area_reg3,area_reg5,area_reg6,area_reg7 | ||
2,0.12566370614359,1.4761368806961,10.486820763413,0.14600287372918,30.200620561455,1.2598417287844 |
This file contains 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