- inputInput mesh the operation will be applied to
C++ Type:MeshGeneratorName
Controllable:No
Description:Input mesh the operation will be applied to
NodeSetsFromSideSetsGenerator
Mesh generator which constructs node sets from side sets
Overview
This MeshGenerator object allows the user to generate a corresponding node set for every side set in the mesh. It does not delete or erase side sets.
In the current implementation, this operation indiscriminately converts all side sets into node sets.
This operation can also be performed automatically at the end of the mesh generation process if construct_node_list_from_side_list = true
in the [Mesh]
block.
[Mesh<<<{"href": "../../syntax/Mesh/index.html"}>>>]
construct_node_list_from_side_list = false
[gmg]
type = GeneratedMeshGenerator<<<{"description": "Create a line, square, or cube mesh with uniformly spaced or biased elements.", "href": "GeneratedMeshGenerator.html"}>>>
dim<<<{"description": "The dimension of the mesh to be generated"}>>> = 3
nx<<<{"description": "Number of elements in the X direction"}>>> = 3
ny<<<{"description": "Number of elements in the Y direction"}>>> = 3
nz<<<{"description": "Number of elements in the Z direction"}>>> = 3
xmax<<<{"description": "Upper X Coordinate of the generated mesh"}>>> = 3
ymax<<<{"description": "Upper Y Coordinate of the generated mesh"}>>> = 3
zmax<<<{"description": "Upper Z Coordinate of the generated mesh"}>>> = 3
[]
[subdomains]
type = ParsedSubdomainMeshGenerator<<<{"description": "Uses a parsed expression (`combinatorial_geometry`) to determine if an element (via its centroid) is inside the region defined by the expression and assigns a new block ID.", "href": "ParsedSubdomainMeshGenerator.html"}>>>
input<<<{"description": "The mesh we want to modify"}>>> = gmg
combinatorial_geometry<<<{"description": "Function expression encoding a combinatorial geometry"}>>> = 'x < 1 & y > 1 & y < 2'
block_id<<<{"description": "Subdomain id to set for inside of the combinatorial"}>>> = 1
[]
[sideset]
type = ParsedGenerateSideset<<<{"description": "A MeshGenerator that adds element sides to a sideset if the centroid of the side satisfies the `combinatorial_geometry` expression.", "href": "ParsedGenerateSideset.html"}>>>
input<<<{"description": "The mesh we want to modify"}>>> = subdomains
combinatorial_geometry<<<{"description": "Function expression encoding a combinatorial geometry"}>>> = 'z < 1'
included_subdomains<<<{"description": "A set of subdomain names or ids whose sides will be included in the new sidesets. A side is only added if the subdomain id of the corresponding element is in this set."}>>> = '1'
normal<<<{"description": "If supplied, only faces with normal equal to this, up to normal_tol, will be added to the sidesets specified"}>>> = '1 0 0'
new_sideset_name<<<{"description": "The name of the new sideset"}>>> = interior
[]
[add_nodesets]
type = NodeSetsFromSideSetsGenerator<<<{"description": "Mesh generator which constructs node sets from side sets", "href": "NodeSetsFromSideSetsGenerator.html"}>>>
input<<<{"description": "Input mesh the operation will be applied to"}>>> = sideset
[]
[]
(moose/test/tests/meshgenerators/nodesets_from_sidesets_generator/from_sides.i)Input Parameters
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:No
Description:Set the enabled status of the MooseObject.
- save_with_nameKeep the mesh from this mesh generator in memory with the name specified
C++ Type:std::string
Controllable:No
Description:Keep the mesh from this mesh generator in memory with the name specified
Advanced Parameters
- nemesisFalseWhether or not to output the mesh file in the nemesisformat (only if output = true)
Default:False
C++ Type:bool
Controllable:No
Description:Whether or not to output the mesh file in the nemesisformat (only if output = true)
- outputFalseWhether or not to output the mesh file after generating the mesh
Default:False
C++ Type:bool
Controllable:No
Description:Whether or not to output the mesh file after generating the mesh
- show_infoFalseWhether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)
Default:False
C++ Type:bool
Controllable:No
Description:Whether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)