Create Edges
Use a Create Edges node () to create edges in a component without geometry.
It is possible to add a Create Edges node when the geometry is empty but the mesh includes either an Import node or a Create Vertices node. To create edges:
For an imported mesh, right-click in the Graphics window to open up The Graphics Context Menu and select Create Edges (). In 3D, do this from the Create Entities menu.
Right-click the Mesh node and select Create Edges (). In 3D, do this from the Create Entities menu.
For a 3D mesh, it is available from the Create Entities menu () on the Mesh ribbon. For 2D meshes, click the Create Edges () button directly on the Mesh ribbon.
Choose between creating new meshed edges between vertices or converting existing mesh edges into edge elements. Edges between vertices can be created in empty space but also overlap existing mesh. Such an edge will not partition existing mesh elements. To partition a domain in 2D or face in 3D, choose Mesh edges.
Edge Specification
From the Specify list, select Mesh edges (default) to convert mesh edges to edge elements. This is done by clicking on mesh edges in the Graphics window. Alternatively, choose Vertices to specify the positions of start and end vertices.
Mesh Edge Selection
Click the Active button to toggle between turning ON and OFF the mesh edge selection. This enables selection by clicking in the Graphics window. When the Active button is toggled ON, the Mesh Rendering will automatically be turned ON to facilitate the selection of vertices. Select a mesh edge to populate the table with the x, y, and (3D only) z coordinates of the midpoint of the mesh edge. It is possible enter the exact x, y, and (3D only) z coordinates manually in the table. Selected edges are highlighted in the Graphics. Click a second time on the same edge to remove it from the selection.
It is only possible to select mesh edges on boundaries in 3D which are visible in the Graphics window. Use Click and Hide and the clipping tools to get access to interior boundaries. Rotate the mesh to make the opposite side come into view.
Starting Vertices, End Vertices
To create edges, select vertices in the Starting Vertices and End Vertices sections. Edges will be created from vertices in the selection in Starting Vertices to vertices in the selection in End Vertices. From each vertex in the selection in Starting Vertices, edges will be created to the closest vertices in the selection in End Vertices.
Element Size
To specify the size distribution of the edge mesh, select one of the methods from the Size distribution type list:
Select Element size (the default) to specify the maximum element size (SI unit: m), which you enter in the Maximum element size field. The value is a relative number (default: 0.1 in 3D and 1/15 in 2D). This value is multiplied with the size of the bounding box.
Select Fixed number of elements to use a fixed number of mesh elements, which you enter into the Number of elements field (default: 1).
Select Explicit distribution to use an explicit, user-defined element distribution. To define the distribution of mesh elements, enter a vector-valued expression defining a strictly increasing sequence of nonnegative numbers (using comma-separated numbers) in the Relative placement of vertices along edge field, specifying the relative arc length values of the mesh vertices along the edge or boundary. Select the Reverse direction check box to reverse the direction of the explicit distribution.
Select Predefined distribution to specify properties of a predefined distribution method that can be a Geometric sequence (exponentially increasing or decreasing element size) or an Arithmetic sequence (constant difference in size between neighboring elements), which you choose from the Growth formula list. In addition, specify values in the Number of elements and Element ratio fields to determine the number and ratio of elements in the distribution. Select the Symmetric distribution check box to make the predefined size distribution symmetric. Select the Reverse direction check box to reverse the direction of the predefined distribution.
See From Surface Mesh to Geometry: STL Import of a Vertebra: Application Library path COMSOL_Multiphysics/Meshing_Tutorials/stl_vertebra_import.