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.
Reactor module test regoldings and add MOOSE tests for new Exodus out…
…put options / command line options Refs idaholab#23386
- Loading branch information
1 parent
1096a67
commit 17a5701
Showing
16 changed files
with
265 additions
and
48 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
framework/doc/content/source/actions/ElementIDOutputAction.md
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,9 @@ | ||
# ElementIDOutputAction | ||
|
||
!syntax description /Mesh/ElementIDOutputAction | ||
|
||
This action is triggered when [!param](/Outputs/Exodus/output_extra_element_ids) is set to `true`. AuxVariables and AuxKernels relevant to the extra element ids defined on the mesh are automatically added to the problem, and the resulting element integers are also outputted to the Exodus file. | ||
|
||
!listing test/tests/outputs/exodus/exodus_elem_id.i block=Outputs | ||
|
||
More information can be found on the [Exodus output documentation page](outputs/Exodus.md). |
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
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
Binary file modified
BIN
+7.69 KB
(120%)
...eshgenerators/coarse_mesh_extra_element_id_generator/gold/coarse_elem_extra_elem_id_out.e
Binary file not shown.
Binary file modified
BIN
+7.7 KB
(120%)
...est/tests/meshgenerators/coarse_mesh_extra_element_id_generator/gold/coarse_elem_id_out.e
Binary file not shown.
Binary file modified
BIN
+7.61 KB
(120%)
...meshgenerators/coarse_mesh_extra_element_id_generator/gold/coarse_elem_subdomain_id_out.e
Binary file not shown.
Binary file modified
BIN
-7.04 KB
(90%)
...or/test/tests/meshgenerators/extra_element_id_copy_generator/gold/copy_elem_id_test_out.e
Binary file not shown.
Binary file modified
BIN
+7.81 KB
(120%)
...ts/meshgenerators/subdomain_extra_element_id_generator/gold/subdomain_elem_ids_test_out.e
Binary file not shown.
Binary file not shown.
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,60 @@ | ||
[Mesh] | ||
[gmg] | ||
type = GeneratedMeshGenerator | ||
dim = 2 | ||
nx = 10 | ||
ny = 10 | ||
xmax = 1 | ||
ymax = 1 | ||
subdomain_ids = '0 0 0 0 0 0 0 0 0 0 | ||
0 1 0 0 0 0 0 0 0 0 | ||
0 0 2 0 0 0 0 0 0 0 | ||
0 0 0 3 0 0 0 0 0 0 | ||
0 0 0 0 4 0 0 0 0 0 | ||
0 0 0 0 0 5 0 0 0 0 | ||
0 0 0 0 0 0 6 0 0 0 | ||
0 0 0 0 0 0 0 7 0 0 | ||
0 0 0 0 0 0 0 0 8 0 | ||
0 0 0 0 0 0 0 0 0 9' | ||
extra_element_integers = 'pin_id' | ||
[] | ||
[pinid_1] | ||
type = SubdomainBoundingBoxGenerator | ||
input = gmg | ||
bottom_left = '0 0 0' | ||
top_right = '0.5 0.5 0' | ||
block_id = 1 | ||
location = INSIDE | ||
integer_name = pin_id | ||
[] | ||
[pinid_2] | ||
type = SubdomainBoundingBoxGenerator | ||
input = pinid_1 | ||
bottom_left = '0.5 0 0' | ||
top_right = '1 0.5 0' | ||
block_id = 2 | ||
location = INSIDE | ||
integer_name = pin_id | ||
[] | ||
[pinid_3] | ||
type = SubdomainBoundingBoxGenerator | ||
input = pinid_2 | ||
bottom_left = '0 0.5 0' | ||
top_right = '0.5 1 0' | ||
block_id = 3 | ||
location = INSIDE | ||
integer_name = pin_id | ||
[] | ||
[pinid_4] | ||
type = SubdomainBoundingBoxGenerator | ||
input = pinid_3 | ||
bottom_left = '0.5 0.5 0' | ||
top_right = '1 1 0' | ||
block_id = 4 | ||
location = INSIDE | ||
integer_name = pin_id | ||
[] | ||
[] | ||
|
||
# This input file is intended to be run with the "--initialize-only" option so | ||
# no other sections are required |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
[Mesh] | ||
[gmg] | ||
type = GeneratedMeshGenerator | ||
dim = 2 | ||
nx = 10 | ||
ny = 10 | ||
xmax = 1 | ||
ymax = 1 | ||
subdomain_ids = '0 0 0 0 0 0 0 0 0 0 | ||
0 1 0 0 0 0 0 0 0 0 | ||
0 0 2 0 0 0 0 0 0 0 | ||
0 0 0 3 0 0 0 0 0 0 | ||
0 0 0 0 4 0 0 0 0 0 | ||
0 0 0 0 0 5 0 0 0 0 | ||
0 0 0 0 0 0 6 0 0 0 | ||
0 0 0 0 0 0 0 7 0 0 | ||
0 0 0 0 0 0 0 0 8 0 | ||
0 0 0 0 0 0 0 0 0 9' | ||
extra_element_integers = 'pin_id temp_id' | ||
[] | ||
[pinid_1] | ||
type = SubdomainBoundingBoxGenerator | ||
input = gmg | ||
bottom_left = '0 0 0' | ||
top_right = '0.5 0.5 0' | ||
block_id = 1 | ||
location = INSIDE | ||
integer_name = pin_id | ||
[] | ||
[pinid_2] | ||
type = SubdomainBoundingBoxGenerator | ||
input = pinid_1 | ||
bottom_left = '0.5 0 0' | ||
top_right = '1 0.5 0' | ||
block_id = 2 | ||
location = INSIDE | ||
integer_name = pin_id | ||
[] | ||
[pinid_3] | ||
type = SubdomainBoundingBoxGenerator | ||
input = pinid_2 | ||
bottom_left = '0 0.5 0' | ||
top_right = '0.5 1 0' | ||
block_id = 3 | ||
location = INSIDE | ||
integer_name = pin_id | ||
[] | ||
[pinid_4] | ||
type = SubdomainBoundingBoxGenerator | ||
input = pinid_3 | ||
bottom_left = '0.5 0.5 0' | ||
top_right = '1 1 0' | ||
block_id = 4 | ||
location = INSIDE | ||
integer_name = pin_id | ||
[] | ||
[tempid_1] | ||
type = SubdomainBoundingBoxGenerator | ||
input = pinid_4 | ||
bottom_left = '0 0 0' | ||
top_right = '0.5 0.5 0' | ||
block_id = 1 | ||
location = INSIDE | ||
integer_name = temp_id | ||
[] | ||
[tempid_2] | ||
type = SubdomainBoundingBoxGenerator | ||
input = tempid_1 | ||
bottom_left = '0.5 0 0' | ||
top_right = '1 0.5 0' | ||
block_id = 2 | ||
location = INSIDE | ||
integer_name = temp_id | ||
[] | ||
[tempid_3] | ||
type = SubdomainBoundingBoxGenerator | ||
input = tempid_2 | ||
bottom_left = '0 0.5 0' | ||
top_right = '0.5 1 0' | ||
block_id = 3 | ||
location = INSIDE | ||
integer_name = temp_id | ||
[] | ||
[tempid_4] | ||
type = SubdomainBoundingBoxGenerator | ||
input = tempid_3 | ||
bottom_left = '0.5 0.5 0' | ||
top_right = '1 1 0' | ||
block_id = 4 | ||
location = INSIDE | ||
integer_name = temp_id | ||
[] | ||
[] | ||
|
||
[Problem] | ||
kernel_coverage_check = false | ||
solve = false | ||
[] | ||
|
||
[Executioner] | ||
type = Steady | ||
[] | ||
|
||
[Debug] | ||
show_actions = true | ||
[] | ||
|
||
[Outputs] | ||
[out] | ||
type = Exodus | ||
output_extra_element_ids = true | ||
[] | ||
[] |
Binary file not shown.
Oops, something went wrong.