- mesh_fileMesh file containing node data and element connectivity. Node data should start with header `# Nodes` and should contain node id, x, y, z coordinates of the nodes and nodeset ids. Each row corresponds to a different node. Element connectivity starts with header `# Element Linear` and should contain element id, nodes and block id. Each row corresponds to a different element. Currently only linear 1d elements can be generated.
C++ Type:FileName
Controllable:No
Description:Mesh file containing node data and element connectivity. Node data should start with header `# Nodes` and should contain node id, x, y, z coordinates of the nodes and nodeset ids. Each row corresponds to a different node. Element connectivity starts with header `# Element Linear` and should contain element id, nodes and block id. Each row corresponds to a different element. Currently only linear 1d elements can be generated.
BeamMeshGenerator
Description
This mesh generator object generates a 1D mesh from an input mesh text file that has two different sections # Nodes
and # Element Linear
. Each row following # Nodes
corresponds to one node and it should contain the node id, x, y and z coordinates of the node, and any nodesets that this node belongs to. Each row following # Element Linear
corresponds to one Edge2 element and it should contain the element id, node ids of the two nodes that this element connects, and the block id that this element belongs to.
Only first order 1D elements can currently be generated by this object.
The mesh generated can be refined using the
uniform_refine
parameter in the Mesh block or using the adaptive meshing block.The rows following
# Nodes
should contain at least 4 entries corresponding to node id, x, y and z coordinates.The rows following
# Element Linear
should contain only 4 entries corresponding to element id, node 0, node 1 and block id.Node and element numbering starts with zero.
Further BeamMeshGenerator Documentation
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)