forked from idaholab/moose
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow filtering faces by neighboring subdomain ID in ParsedGenerateSi…
…deset (idaholab#15651)
- Loading branch information
schuseba
committed
Jul 27, 2020
1 parent
e1c9e89
commit 1409f61
Showing
5 changed files
with
69 additions
and
0 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
Binary file added
BIN
+3.25 KB
.../meshgenerators/parsed_generate_sideset/gold/parsed_generate_sideset_neighbor_sub_id_in.e
Binary file not shown.
21 changes: 21 additions & 0 deletions
21
test/tests/meshgenerators/parsed_generate_sideset/parsed_generate_sideset_neighbor_sub_id.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,21 @@ | ||
[Mesh] | ||
[./cmg] | ||
type = CartesianMeshGenerator | ||
dim = 2 | ||
dx = '1 1' | ||
dy = '2 2' | ||
subdomain_id = '0 1 0 0' | ||
[../] | ||
|
||
[sideset] | ||
type = ParsedGenerateSideset | ||
input = cmg | ||
combinatorial_geometry = 'abs(x - 1) < 1e-6' | ||
included_neighbor_ids = '1' | ||
new_sideset_name = interior | ||
[] | ||
[] | ||
|
||
[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