- end_boundaryendBoundary to assign to (non-looped) polyline end
Default:end
C++ Type:BoundaryName
Unit:(no unit assumed)
Controllable:No
Description:Boundary to assign to (non-looped) polyline end
- loopFalseWhether edges should form a closed loop
Default:False
C++ Type:bool
Unit:(no unit assumed)
Controllable:No
Description:Whether edges should form a closed loop
- num_edges_between_points1How many Edge elements to build between each point pair
Default:1
C++ Type:unsigned int
Unit:(no unit assumed)
Controllable:No
Description:How many Edge elements to build between each point pair
- pointsThe points defining the polyline, in order
C++ Type:std::vector<libMesh::Point>
Unit:(no unit assumed)
Controllable:No
Description:The points defining the polyline, in order
- start_boundarystartBoundary to assign to (non-looped) polyline start
Default:start
C++ Type:BoundaryName
Unit:(no unit assumed)
Controllable:No
Description:Boundary to assign to (non-looped) polyline start
PolyLineMeshGenerator
Generates meshes from edges connecting a list of points.
Using the PolyLineMeshGenerator
object from within the Mesh block of the input file will construct an open or closed (looped) one-dimensional manifold of Edge elements connecting each adjacent pair of points in a user-specified list. Points can live in 3-D space by default, but loops in the X-Y plane are particularly useful as inputs to subsequent triangulator mesh generators.
Example
The following Mesh block will connect the specified 3 points with a total of 9 Edge2 elements.
[Mesh]
[poly]
type = PolyLineMeshGenerator
points = '-1.0 0.0 0.0
1.0 1.0 1.0
1.0 2.0 3.0'
loop = true
num_edges_between_points = 3
[]
[]
(test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator_loop_refine.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)
Debugging Parameters
Input Files
- (test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator_loop_refine.i)
- (test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator_bad_boundary.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_smoothed.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_auto_area_func.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_open_polyline.i)
- (test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator_good_boundary.i)
- (modules/reactor/test/tests/meshgenerators/peripheral_ring_mesh_generator/err_mix_type.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_nested.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_area_func.i)
- (test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator_loop.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_with_holes.i)
- (test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator_refine.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_from_2d_bcids.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_with_hole_names.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_multiline.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_stitching.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_mesh_generator.i)
- (test/tests/userobjects/geometry_snap/block.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_quadratic.i)
- (test/tests/meshgenerators/xy_delaunay_generator/xydelaunay_from_1d_sbdids.i)
- (test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator.i)