Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename, add test, address comments (#13221)
- Loading branch information
Showing
10 changed files
with
81 additions
and
33 deletions.
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
framework/doc/content/source/meshgenerators/MergedMeshGenerator.md
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
framework/doc/content/source/meshgenerators/MeshCollectionGenerator.md
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 @@ | ||
# MeshCollectionGenerator | ||
|
||
## Overview | ||
|
||
The `MeshCollectionGenerator` creates a new mesh that is a collection of | ||
submeshes (provides in the `inputs` parameter`), The submeshes are not linked in | ||
any way and interaction between them only occurs due to contact or other | ||
constraints. | ||
|
||
## Further MeshCollectionGenerator Documentation | ||
|
||
!syntax parameters /MeshGenerators/MeshCollectionGenerator | ||
|
||
!syntax inputs /MeshGenerators/MeshCollectionGenerator | ||
|
||
!syntax children /MeshGenerators/MeshCollectionGenerator |
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
+13.8 KB
test/tests/meshgenerators/mesh_collection_generator/gold/image_mesh_generator_in.e
Binary file not shown.
Binary file added
BIN
+3.57 KB
test/tests/meshgenerators/mesh_collection_generator/gold/mesh_collection_generator_in.e
Binary file not shown.
35 changes: 35 additions & 0 deletions
35
test/tests/meshgenerators/mesh_collection_generator/mesh_collection_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,35 @@ | ||
[MeshGenerators] | ||
[./left] | ||
type = GeneratedMeshGenerator | ||
dim = 2 | ||
nx = 3 | ||
ny = 3 | ||
xmin = -3 | ||
xmax = 0 | ||
ymin = -5 | ||
ymax = 5 | ||
[../] | ||
[./right] | ||
type = GeneratedMeshGenerator | ||
dim = 2 | ||
nx = 3 | ||
ny = 3 | ||
xmin = 3 | ||
xmax = 6 | ||
ymin = -5 | ||
ymax = 5 | ||
[../] | ||
|
||
[./left_and_right] | ||
type = MeshCollectionGenerator | ||
inputs = 'left right' | ||
[../] | ||
[] | ||
|
||
[Mesh] | ||
type = MeshGeneratorMesh | ||
[] | ||
|
||
[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Tests] | ||
[./mesh_collection_generator_test] | ||
type = 'Exodiff' | ||
input = 'mesh_collection_generator.i' | ||
cli_args = '--mesh-only' | ||
exodiff = 'mesh_collection_generator_in.e' | ||
requirement = 'MOOSE shall be able to combine multiple meshes into a single unconnected mesh.' | ||
design = 'meshgenerators/MeshCollectionGenerator.md' | ||
issues = '#13221' | ||
mesh_mode = 'REPLICATED' | ||
recover = false | ||
[../] | ||
[] |