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.
added tests, but one fails refs idaholab#21903
- Loading branch information
Showing
5 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
test/tests/meshgenerators/transfinite_generator/arccircle_generator.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] | ||
[transf] | ||
type = TransfiniteMeshGenerator | ||
corners = '-1.0 -1.0 0.0 | ||
10.0 -1.0 0.0 | ||
11.0 5.0 0 | ||
4.0 4.0 0' | ||
nx = 8 | ||
ny = 6 | ||
bottom = LINE | ||
top = LINE | ||
right = CIRCARC | ||
left = LINE | ||
right_parameter = '1.23' | ||
[] | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
xda = true | ||
[] |
Binary file added
BIN
+6.79 KB
test/tests/meshgenerators/transfinite_generator/gold/arccircle_generator_in.e
Binary file not shown.
Binary file added
BIN
+6.8 KB
test/tests/meshgenerators/transfinite_generator/gold/quadrilater_generator_in.e
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
test/tests/meshgenerators/transfinite_generator/quadrilater_generator.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,20 @@ | ||
[Mesh] | ||
[transf] | ||
type = TransfiniteMeshGenerator | ||
corners = '-1.0 -1.0 0.0 | ||
10.0 -1.0 0.0 | ||
11.0 5.0 0 | ||
4.0 4.0 0' | ||
nx = 8 | ||
ny = 6 | ||
bottom = LINE | ||
top = LINE | ||
right = LINE | ||
left = LINE | ||
[] | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
xda = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[Tests] | ||
issues = '#21903' | ||
design = 'meshgenerators/TransfiniteGenerator.md' | ||
|
||
[generate] | ||
requirement = 'The system shall support the ability to create a mesh element-wise by specifying ' | ||
'corners, edge types, generating parameters and/or point distribution, ' | ||
|
||
[quadrilater] | ||
type = 'Exodiff' | ||
input = 'quadrilater_generator.i' | ||
cli_args = '--mesh-only' | ||
exodiff = 'quadrilater_generator_in.e' | ||
recover = false | ||
|
||
detail = 'resulting in a quadrilateral mesh, or' | ||
|
||
[] | ||
|
||
[arccircle] | ||
type = 'Exodiff' | ||
input = 'arccircle_generator.i' | ||
cli_args = '--mesh-only' | ||
exodiff = arccircle_generator_in.e' | ||
recover = false | ||
|
||
detail = 'resulting in a mesh with one arc circle side.' | ||
[] | ||
[] | ||
[] |