- inputInput mesh the operation will be applied to
C++ Type:MeshGeneratorName
Unit:(no unit assumed)
Controllable:No
Description:Input mesh the operation will be applied to
SideSetsFromNodeSetsGenerator
Mesh generator which constructs side sets from node sets
Overview
This MeshGenerator object allows the user to make matching side sets for every existing node set. It does not delete or erase the original node sets in the process. A side may only be created from several nodes if the nodes are forming a side of an element.
For example, for a 2D element, nodes from the node set must be on the two edges of a vertex of an element to make this vertex be part of the created sideset. For a 3D hexagonal element, the four nodes on the corners of a face of an element must be part of the original node set to make the quadrilateral face be part of the created side set.
In the current implementation, this operation indiscriminately converts all node sets into side sets.
This operation can also be performed automatically at the end of the mesh generation process if construct_side_list_from_node_list = true
in the [Mesh]
block.
[Mesh]
construct_side_list_from_node_list = false # set to false for testing purposes
[gmg]
type = GeneratedMeshGenerator
dim = 3
nx = 3
ny = 3
nz = 3
xmax = 3
ymax = 3
zmax = 3
[]
[bounding_box]
type = BoundingBoxNodeSetGenerator
input = gmg
new_boundary = 'nodes_to_convert_to_sides'
top_right = '2.1 2.1 1.1'
bottom_left = '-0.1 -0.1 -0.1'
[]
[create_sideset]
type = SideSetsFromNodeSetsGenerator
input = bounding_box
[]
[]
(moose/test/tests/meshgenerators/sidesets_from_nodesets_generator/from_nodes.i)Input Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Unit:(no unit assumed)
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Unit:(no unit assumed)
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
Unit:(no unit assumed)
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
Unit:(no unit assumed)
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
Unit:(no unit assumed)
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
Unit:(no unit assumed)
Controllable:No
Description:Whether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)