-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #19451
- Loading branch information
Showing
13 changed files
with
214 additions
and
14 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
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
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 added
BIN
+24 KB
test/tests/transfers/multiapp_copy_transfer/between_multiapps/gold/main_out_sub10.e
Binary file not shown.
Binary file added
BIN
+24 KB
test/tests/transfers/multiapp_copy_transfer/between_multiapps/gold/main_out_sub20.e
Binary file not shown.
32 changes: 32 additions & 0 deletions
32
test/tests/transfers/multiapp_copy_transfer/between_multiapps/main.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,32 @@ | ||
[Problem] | ||
solve = false | ||
[] | ||
|
||
[Mesh] | ||
type = GeneratedMesh | ||
dim = 2 | ||
[] | ||
|
||
[MultiApps/sub1] | ||
type = TransientMultiApp | ||
input_files = sub1.i | ||
[] | ||
|
||
[MultiApps/sub2] | ||
type = TransientMultiApp | ||
input_files = sub2.i | ||
[] | ||
|
||
[Transfers/from_sub1_to_sub2] | ||
type = MultiAppCopyTransfer | ||
direction = between_multiapp | ||
multi_app = sub1 | ||
to_multi_app = sub2 | ||
source_variable = x1 | ||
variable = x2 | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 1 | ||
[] |
22 changes: 22 additions & 0 deletions
22
test/tests/transfers/multiapp_copy_transfer/between_multiapps/sub1.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,22 @@ | ||
[Problem] | ||
type = FEProblem | ||
solve = false | ||
[] | ||
|
||
[Mesh] | ||
type = GeneratedMesh | ||
dim = 2 | ||
[] | ||
|
||
[AuxVariables/x1] | ||
initial_condition = 10 | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
[] | ||
|
||
[Outputs] | ||
execute_on = 'FINAL' | ||
exodus = true | ||
[] |
22 changes: 22 additions & 0 deletions
22
test/tests/transfers/multiapp_copy_transfer/between_multiapps/sub2.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,22 @@ | ||
[Problem] | ||
type = FEProblem | ||
solve = false | ||
[] | ||
|
||
[Mesh] | ||
type = GeneratedMesh | ||
dim = 2 | ||
[] | ||
|
||
[AuxVariables/x2] | ||
initial_condition = 1980 | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
[] | ||
|
||
[Outputs] | ||
execute_on = 'FINAL' | ||
exodus = true | ||
[] |
16 changes: 16 additions & 0 deletions
16
test/tests/transfers/multiapp_copy_transfer/between_multiapps/tests
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,16 @@ | ||
[Tests] | ||
issues = '#13754 #19451' | ||
design = 'MultiAppCopyTransfer.md' | ||
|
||
[transfer] | ||
requirement = "The system shall support the transfer of auxiliary field variables between identical meshes:" | ||
[from_sub_to_sub] | ||
type = Exodiff | ||
input = main.i | ||
exodiff = 'main_out_sub10.e main_out_sub20.e' | ||
recover = false # uses output on final | ||
|
||
detail = 'between two subapps' | ||
[] | ||
[] | ||
[] |