Skip to content

Commit

Permalink
Add test for replacing sidesets
Browse files Browse the repository at this point in the history
  • Loading branch information
loganharbour authored and bwspenc committed Dec 7, 2019
1 parent 4e9fa66 commit d98cb60
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
Binary file not shown.
16 changes: 16 additions & 0 deletions test/tests/meshgenerators/sidesets_by_normals_generator/replace.i
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Mesh]
# Creates (by default) the sidesets [0, 1, 2, 3]
[gmg]
type = GeneratedMeshGenerator
dim = 2
nx = 10
ny = 10
[]

# Creates the sidesets [5, 6, 7, 8] and removes [0, 1, 2, 3]
[generate_sidesets]
type = AllSideSetsByNormalsGenerator
input = gmg
replace = true
[]
[]
14 changes: 13 additions & 1 deletion test/tests/meshgenerators/sidesets_by_normals_generator/tests
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,23 @@
input = 'less_simple.i'
cli_args = '--mesh-only'
exodiff = 'less_simple_in.e'
mesh_mode = 'REPPLICATED'
mesh_mode = 'REPLICATED'
recover = false

requirement = 'The system shall be able to generate mesh side sets for all external surfaces on the mesh for each unique normal.'
design = 'meshgenerators/AllSideSetsByNormalsGenerator.md'
issues = '#11640'
[../]

[./replace_sidesets_test]
input = 'replace.i'
cli_args = '--mesh-only'
exodiff = 'replace_in.e'
mesh_mode = 'REPLICATED'
recover = false

requirement = 'The system must be able to replace the side sets when applying side sets during mesh generation.'
design = 'meshgenerators/AllSideSetsByNormalsGenerator.md'
issues = '#14460'
[]
[]

0 comments on commit d98cb60

Please sign in to comment.