-
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.
update tests to moving circle; update markdown file
- Loading branch information
Showing
30 changed files
with
186 additions
and
76 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
67 changes: 67 additions & 0 deletions
67
test/tests/userobjects/element_subdomain_modifier/external_moving_boundary.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,67 @@ | ||
[Problem] | ||
solve = false | ||
[] | ||
|
||
[Mesh] | ||
[gen] | ||
type = GeneratedMeshGenerator | ||
dim = 2 | ||
nx = 16 | ||
ny = 16 | ||
[] | ||
[left] | ||
type = SubdomainBoundingBoxGenerator | ||
input = 'gen' | ||
block_id = 1 | ||
bottom_left = '0 0 0' | ||
top_right = '0.25 1 1' | ||
[] | ||
[right] | ||
type = SubdomainBoundingBoxGenerator | ||
input = 'left' | ||
block_id = 2 | ||
bottom_left = '0.25 0 0' | ||
top_right = '1 1 1' | ||
[] | ||
[ext] | ||
type = SideSetsAroundSubdomainGenerator | ||
input = 'right' | ||
block = 1 | ||
new_boundary = 'moving_boundary' | ||
[] | ||
[] | ||
|
||
[UserObjects] | ||
[moving_circle] | ||
type = CoupledVarThresholdElementSubdomainModifier | ||
coupled_var = 'phi' | ||
criterion_type = 'BELOW' | ||
threshold = 0 | ||
subdomain_id = 1 | ||
moving_boundaries = 'moving_boundary moving_boundary' | ||
moving_boundary_subdomain_pairs = '1 2; 1' | ||
execute_on = 'INITIAL TIMESTEP_BEGIN' | ||
[] | ||
[] | ||
|
||
[AuxVariables] | ||
[phi] | ||
[AuxKernel] | ||
type = ParsedAux | ||
expression = '(x-t)^2+(y)^2-0.5^2' | ||
use_xyzt = true | ||
execute_on = 'INITIAL TIMESTEP_BEGIN' | ||
[] | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
dt = 0.3 | ||
num_steps = 3 | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] | ||
|
Binary file modified
BIN
+9.37 KB
(120%)
test/tests/userobjects/element_subdomain_modifier/gold/complement_moving_boundary_out.e
Binary file not shown.
Binary file modified
BIN
+13.4 KB
(300%)
test/tests/userobjects/element_subdomain_modifier/gold/complement_moving_boundary_out.e-s002
Binary file not shown.
Binary file modified
BIN
+13.8 KB
(310%)
test/tests/userobjects/element_subdomain_modifier/gold/complement_moving_boundary_out.e-s003
Binary file not shown.
Binary file added
BIN
+20.2 KB
test/tests/userobjects/element_subdomain_modifier/gold/complement_moving_boundary_out.e-s004
Binary file not shown.
Binary file added
BIN
+70.5 KB
test/tests/userobjects/element_subdomain_modifier/gold/external_moving_boundary_out.e
Binary file not shown.
Binary file added
BIN
+20.7 KB
test/tests/userobjects/element_subdomain_modifier/gold/external_moving_boundary_out.e-s002
Binary file not shown.
Binary file added
BIN
+20.8 KB
test/tests/userobjects/element_subdomain_modifier/gold/external_moving_boundary_out.e-s003
Binary file not shown.
Binary file added
BIN
+20.8 KB
test/tests/userobjects/element_subdomain_modifier/gold/external_moving_boundary_out.e-s004
Binary file not shown.
Binary file modified
BIN
-836 Bytes
(99%)
test/tests/userobjects/element_subdomain_modifier/gold/irreversible_out.e
Binary file not shown.
Binary file modified
BIN
-908 Bytes
(96%)
test/tests/userobjects/element_subdomain_modifier/gold/irreversible_out.e-s002
Binary file not shown.
Binary file modified
BIN
-884 Bytes
(96%)
test/tests/userobjects/element_subdomain_modifier/gold/irreversible_out.e-s003
Binary file not shown.
Binary file modified
BIN
-848 Bytes
(96%)
test/tests/userobjects/element_subdomain_modifier/gold/irreversible_out.e-s004
Binary file not shown.
Binary file modified
BIN
+9.36 KB
(120%)
test/tests/userobjects/element_subdomain_modifier/gold/moving_boundary_out.e
Binary file not shown.
Binary file modified
BIN
+13.4 KB
(300%)
test/tests/userobjects/element_subdomain_modifier/gold/moving_boundary_out.e-s002
Binary file not shown.
Binary file modified
BIN
+13.8 KB
(310%)
test/tests/userobjects/element_subdomain_modifier/gold/moving_boundary_out.e-s003
Binary file not shown.
Binary file added
BIN
+20.2 KB
test/tests/userobjects/element_subdomain_modifier/gold/moving_boundary_out.e-s004
Binary file not shown.
Binary file removed
BIN
-58.6 KB
test/tests/userobjects/element_subdomain_modifier/gold/no_moving_boundary_out.e
Binary file not shown.
Binary file removed
BIN
-6.8 KB
test/tests/userobjects/element_subdomain_modifier/gold/no_moving_boundary_out.e-s002
Binary file not shown.
Binary file removed
BIN
-6.41 KB
test/tests/userobjects/element_subdomain_modifier/gold/no_moving_boundary_out.e-s003
Binary file not shown.
Binary file modified
BIN
+19.3 KB
(140%)
test/tests/userobjects/element_subdomain_modifier/gold/reversible_out.e
Binary file not shown.
Binary file modified
BIN
+2.4 KB
(110%)
test/tests/userobjects/element_subdomain_modifier/gold/reversible_out.e-s002
Binary file not shown.
Binary file modified
BIN
+2.36 KB
(110%)
test/tests/userobjects/element_subdomain_modifier/gold/reversible_out.e-s003
Binary file not shown.
Binary file modified
BIN
+2.44 KB
(110%)
test/tests/userobjects/element_subdomain_modifier/gold/reversible_out.e-s004
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
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
59 changes: 59 additions & 0 deletions
59
test/tests/userobjects/element_subdomain_modifier/reversible.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,59 @@ | ||
[Problem] | ||
solve = false | ||
[] | ||
|
||
[Mesh] | ||
[gen] | ||
type = GeneratedMeshGenerator | ||
dim = 2 | ||
nx = 16 | ||
ny = 16 | ||
[] | ||
[left] | ||
type = SubdomainBoundingBoxGenerator | ||
input = 'gen' | ||
block_id = 1 | ||
bottom_left = '0 0 0' | ||
top_right = '0.25 1 1' | ||
[] | ||
[right] | ||
type = SubdomainBoundingBoxGenerator | ||
input = 'left' | ||
block_id = 2 | ||
bottom_left = '0.25 0 0' | ||
top_right = '1 1 1' | ||
[] | ||
[] | ||
|
||
[UserObjects] | ||
[moving_circle] | ||
type = CoupledVarThresholdElementSubdomainModifier | ||
coupled_var = 'phi' | ||
criterion_type = 'BELOW' | ||
threshold = 0 | ||
subdomain_id = 1 | ||
complement_subdomain_id = 2 | ||
execute_on = 'INITIAL TIMESTEP_BEGIN' | ||
[] | ||
[] | ||
|
||
[AuxVariables] | ||
[phi] | ||
[AuxKernel] | ||
type = ParsedAux | ||
expression = '(x-t)^2+(y)^2-0.5^2' | ||
use_xyzt = true | ||
execute_on = 'INITIAL TIMESTEP_BEGIN' | ||
[] | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
dt = 0.3 | ||
num_steps = 3 | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
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