Using the AutoMesher
Previous Top Next

Solaria provides you with a 2D automesher.  This can be used to fill a complex area with triangular shaped Plate elements.  The following is a link to the Solaria Thermal web site showing how to use the AutoMesher.

Using the AutoMesher

Using the AutoMesher is a three step process. 

1) First geometry is defined either by importing a DXF file or by creating Plates and Segments. The edges of all Plates are automatically turned into Segments.  T

2) The second step is to send the geometry to the AutoMesher to create Regions.  A Region is a series of Segments that define a closed area.  If Segments intersect or cross, they are automatically split into additional Segments. To refine the mesh, the number of Sections a Segments will be broken into can be defined.  This is done in Modify>Segments.  When Regions are generated, a non-constricting value for the maximum triangle area and edge length is calculated.  These values can be redefined in Modify>Regions.

3) The final step is to send the Regions to the AutoMesher to create triangular Plate elements. There will be a new property generated for each Region.

Creating input data

Input data can be generated two ways.  One is by creating Segments and Plates.  The second is to import DXF data.

Creating Plates and Segments

A Segment is a line between two Nodes.  Select Add>Segment.  The only option is to define the number of Sections to break the Segment into.  This tells the mesher to create at least that many elements across the Segment.

Check Select Node string. Select the first node then the second.  If you want just the one Segment then hit the Create button.  If you want a string of Segments then continue to select nodes.  If you want to close the area then select the first node selected as the last.  When you're done, hit the Create button.  Below Nodes were selected to define a circular area.  As the Nodes are selected, the line between the selected Nodes id drawn green. This color is defined in Settings>OpenGL Display for Marks.

graphic

Below is shown geometry defined by Plates and Segments.
graphic

Importing DXF geometry

Select File>Import Geometry>DXF.  Select the file.  POLYLINE, LINE, ARC and CIRCLE entities are imported.  For ARCs and CIRCLEs, the number of Segments the entity will be broken into is defined in Settings>General.  Below are two examples of imported DXF files with the meshes generated using default settings.  The second mesh below took 6 seconds and created 8,500 Plates.

graphic 
 graphic

graphic
 graphic

Creating Regions

Select Model>AutoMesher.

graphic

Hit the Create Regions button.  In this case, you really won't see too much happen because there were no intersecting Segments.

Meshing

If the Mesher dialog isn't still up, open it again.  Accept the defaults and hit the Mesh button.  The elements below were created.  Lets say we want a finer mesh in the large center purple Region.

graphic

Select Undo-Redo>Single Undo or hit the graphic button.  This will get rid of the Plates and Plate Nodes.  Now select Modify>Region.  Select a Segment on this Region.  In the figure below, centroids were turned on making it easier to select the Segment.

graphic

The existing Maximum triangle area and edge length will be given.  Change the Maximum triangle edge length to 0.1.  Hit Apply then hit OK.  Back in the mesher dialog, again, hit the Mesh button. You can see below that inside the highlighted area the elements are not much smaller. 

graphic

Now lets say we want to force a finer mesh along an edge.  Again, hit the Undo button, graphic. Select Modify>Segment.  Enter 4 for the Number of Sections, hit the Select button and select the Segment on the top of the rectangular area in the circled area.  Three equally spaced dots identify the four Sections the Segment will be broken into.  Hit the OK button.

graphic

Back in the Mesher dialog, just hit the Mesh button.  If you compare the mesh above with the new mesh below you can see the finer mesh at the Segment just set to four Sections.

graphic

Minimum allowable angle

This value defines the minimum angle inside a triangle generated by the mesher.  In the example below, the value was changed to 15 degrees.  You can see that the quality of the triangles is worse.  The default value of 25 degrees should be good for all cases.  Larger values can cause errors.

graphic

Maximum number of Nodes and Triangles

If when meshing the number of nodes or triangles generated exceeds the defined value a message like below will come up.  Just increase the value and hit the Mesh button again.

graphic

Tolerance

During the Region creation, this value is used when determining when nodes are at the same location as well as other criteria.