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
  []
[]
(../moose/test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator_loop_refine.i)

Input Parameters

  • end_boundaryendBoundary to assign to (non-looped) polyline end

    Default:end

    C++ Type:BoundaryName

    Controllable:No

    Description:Boundary to assign to (non-looped) polyline end

  • loopFalseWhether edges should form a closed loop

    Default:False

    C++ Type:bool

    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

    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>

    Controllable:No

    Description:The points defining the polyline, in order

  • start_boundarystartBoundary to assign to (non-looped) polyline start

    Default:start

    C++ Type:BoundaryName

    Controllable:No

    Description:Boundary to assign to (non-looped) polyline start

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    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

    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)

Debugging Parameters