-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Auto EEID Assignment in FlexiblePatternGenerator
closes #29529
- Loading branch information
Showing
6 changed files
with
190 additions
and
1 deletion.
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
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
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
125 changes: 125 additions & 0 deletions
125
modules/reactor/test/tests/meshgenerators/flexible_pattern_generator/fp_eeid.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,125 @@ | ||
[Mesh] | ||
[accg_1] | ||
type = AdvancedConcentricCircleGenerator | ||
num_sectors = 9 | ||
ring_radii = '2' | ||
ring_intervals = '1' | ||
ring_block_ids = '10' | ||
ring_block_names = 'accg_1' | ||
create_outward_interface_boundaries = false | ||
[] | ||
[accg_2] | ||
type = AdvancedConcentricCircleGenerator | ||
num_sectors = 9 | ||
ring_radii = '2' | ||
ring_intervals = '1' | ||
ring_block_ids = '20' | ||
ring_block_names = 'accg_2' | ||
create_outward_interface_boundaries = false | ||
[] | ||
[accg_3] | ||
type = AdvancedConcentricCircleGenerator | ||
num_sectors = 9 | ||
ring_radii = '2' | ||
ring_intervals = '1' | ||
ring_block_ids = '30' | ||
ring_block_names = 'accg_3' | ||
create_outward_interface_boundaries = false | ||
[] | ||
[fpg] | ||
type = FlexiblePatternGenerator | ||
inputs = 'accg_1 accg_2 accg_3' | ||
boundary_type = HEXAGON | ||
boundary_size = ${fparse 12.0*sqrt(3.0)} | ||
boundary_sectors = 10 | ||
|
||
extra_positions = '0.0 6.0 0.0 | ||
0.0 -6.0 0.0 | ||
0.0 0.0 0.0' | ||
extra_positions_mg_indices = '0 1 2' | ||
|
||
desired_area = 1.0 | ||
[] | ||
[] | ||
|
||
[Problem] | ||
solve = false | ||
[] | ||
|
||
[AuxVariables] | ||
[pin_id] | ||
order = CONSTANT | ||
family = MONOMIAL | ||
[] | ||
[] | ||
|
||
[AuxKernels] | ||
[pin_id] | ||
type = ExtraElementIDAux | ||
extra_id_name = pin_id | ||
variable = pin_id | ||
[] | ||
[] | ||
|
||
[Postprocessors] | ||
[accg_1_pin_id_avg] | ||
type = ElementAverageValue | ||
variable = pin_id | ||
block = 10 | ||
[] | ||
[accg_2_pin_id_avg] | ||
type = ElementAverageValue | ||
variable = pin_id | ||
block = 20 | ||
[] | ||
[accg_3_pin_id_avg] | ||
type = ElementAverageValue | ||
variable = pin_id | ||
block = 30 | ||
[] | ||
[accg_1_pin_id_max] | ||
type = ElementExtremeValue | ||
variable = pin_id | ||
block = 10 | ||
[] | ||
[accg_2_pin_id_max] | ||
type = ElementExtremeValue | ||
variable = pin_id | ||
block = 20 | ||
[] | ||
[accg_3_pin_id_max] | ||
type = ElementExtremeValue | ||
variable = pin_id | ||
block = 30 | ||
[] | ||
[accg_1_pin_id_min] | ||
type = ElementExtremeValue | ||
variable = pin_id | ||
block = 10 | ||
value_type = min | ||
[] | ||
[accg_2_pin_id_min] | ||
type = ElementExtremeValue | ||
variable = pin_id | ||
block = 20 | ||
value_type = min | ||
[] | ||
[accg_3_pin_id_min] | ||
type = ElementExtremeValue | ||
variable = pin_id | ||
block = 30 | ||
value_type = min | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 1 | ||
[] | ||
|
||
[Outputs] | ||
[csv] | ||
type = CSV | ||
execute_on = FINAL | ||
[] | ||
[] |
2 changes: 2 additions & 0 deletions
2
modules/reactor/test/tests/meshgenerators/flexible_pattern_generator/gold/fp_eeid_csv.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,accg_1_pin_id_avg,accg_1_pin_id_max,accg_1_pin_id_min,accg_2_pin_id_avg,accg_2_pin_id_max,accg_2_pin_id_min,accg_3_pin_id_avg,accg_3_pin_id_max,accg_3_pin_id_min | ||
1,1,1,1,2,2,2,3,3,3 |
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