PRIMER 22.1

Remesh Area

Remesh Area

The Remesh area function was completely rewritten for version 13 of PRIMER .

To start the process PRIMER needs some shells to remesh. Use the Add shells and Remove shells buttons to add or remove shells to remesh. Both of these will map an object menu which will allow you to choose which shells to remesh. Use the Apply button in the object menu to add or remove them.

Once there are some shells to remesh the Apply button will become active.

The target size for new shells is given with the Element size textbox. You can either type in the necessary size in the textbox or pressing Ave will use the average size of the selected shells as the target size.

Shells can be added or removed as much as you like. Note that the shells do not have to form a single attached area. There can be several different areas of shells. When you are happy with the selection pressing Apply will take you to the next step.

To illustrate some of the remeshing features we will show an example of remeshing the top part of a component with a finer mesh. The mesh on the right has an average size of about 10mm. We want to remesh it with a size of 6mm.

To start the meshing process PRIMER looks at the selected shells to find any free edges and edges which are shared by other elements.

The selected shells are sketched (shown in black in the image on the right).

Edges that are shared with other elements are shown in red and a red blob is drawn for each node that PRIMER must keep to maintain the mesh connectictivity.

Free edges are shown in blue. PRIMER will look along the free edges and anwhere where two adjacent free edges have an angle greater than Fixed point angle a fixed node will also be added to ensure that any sharp edge edges are maintained. In the image on the right these are shown as blue blobs.
If a new value is given for Fixed point angle then PRIMER will recalculate and redraw as required.

By default PRIMER will only preserve the edges of the mesh. There may be feature lines on the mesh where you want to ensure that nodes are created.

The Feature line limit tells PRIMER to look for any feature lines in the selected shells that have an angle greater than feature line limit. If it is turned on by ticking the checkbox then PRIMER will show the feature lines in green. Where feature lines intersect PRIMER will also add fixed points (shown as green blobs). The image on the right shows the feature lines found with an angle of 20 degrees.

If a new value is given for Feature line limit then PRIMER will recalculate and redraw as required.

It is also possible to add extra fixed points and free edges to the mesh that should be preserved. To do this use the Fixed points and Feature lines tools. The tool which is currently selected is shown in green.

The Fixed points tool has Node , Edge and Free options. In the image above the Node tool is active.
Node allows a fixed point to be added/removed on an existing node.
Edge allows a fixed point to be added/removed on an existing element edge.
Free allows a fixed point to be added at a free location on an existing shell.
Fixed points that have been added manually are shown as cyan blobs.

The Feature lines tool has Single and Feature options.
Single allows a feature line to be created on a single element edge.
Feature allows the free edge to propagate until the end of the feature is found.

To add a fixed point left click with the mouse where you want the fixed point to be created.
To remove a fixed point right click with the mouse on the fixed point you want to remove. Only manually added fixed points (shown in cyan) and fixed points added by PRIMER on free edges (shown in blue) can be removed.

In the image above there is a Free fixed point in the middle of the component and there are two Node fixed points. PRIMER will ensure that nodes are created where there are fixed points.

To add a feature line left click with the mouse on an element edge where you want the feature line to be created.
To remove a feature line right click with the mouse on the feature line you want to remove. Only manually added feature lines (shown in cyan) can be removed.

Lock allows you to lock a mesh on a free edge/feature line. This will ensure that the original nodes are maintained. This may be useful to keep nodes on hole boundaries that are used in nodal rigid bodies or connections. A locked edge will be drawn in red with red blobs for the fixed nodes.

In the image above there are feature lines on 2 element edges. PRIMER will ensure that nodes are created along feature lines.

Once you have created any Fixed points and Feature lines that you need in the mesh and set the Element size to the target mesh size (6mm in this example) press Apply and PRIMER will move onto the next stage.

PRIMER will look at the free edges and feature lines that you have selected and choose how many nodes to create on them to achieve the target mesh size. A magenta + symbol will be shown where each node will be created and then number of elements that will be created between fixed points on a free edge is shown as a magenta number.

To increase the number of elements created along a free edge left click with the mouse on the number.
To decrease the number of elements created along a free edge right click with the mouse on the number.
PRIMER will adjust the mesh density along that free edge.

If you want to go back and add some more fixed points and/or feature lines press Reject .
Once you are happy with the mesh density then press Apply to preview the mesh.

The preview of the mesh is shown in blue.

If you are happy with the mesh press Confirm to finalise the mesh.
If you want to go back and change the mesh density or add fixed points/feature lines press Reject .

It can be difficult to see the new mesh so the Toggle mesh visibility button can be used to toggle between both meshes, the original mesh and the new mesh.



It can be difficult to see the new mesh so the Toggle mesh visibility button can be used to toggle between both meshes, the original mesh and the new mesh.

Original mesh shown after pressing Toggle mesh visibility button once

New mesh shown after pressing Toggle mesh visibility button again.

When Preserve elements around hole option is turned ON, PRIMER will preserve all the elements while remeshing which are present immediately around hole. By specifying 'Max hole size' user can control which hole elements should be preserved. Edges of all such elements will be drawn in cyan colour to represent that those edges will be preserved. Free edges will still be drawn in blue.


Remesh muliple area

PRIMER allows you to select multiple zones to re-mesh using Area Remesh at the same time instead of selecting one by one.

Use Add shells to select multiple zones either using screen pick or directly from the object menu.

Use Remove shells to remove shell from the selected zones. Once you are happy with the selection, hit Apply and continue with Remesh process as explained in the previous section.

multi_panel


remesh_multi2

In version 17 onwards, the visibility of elements is maintained after area remesh.

Area remesh also recognizes internal part boundaries.

If the selected shells have internal boundaries (belong to different *PARTs) they are treated in the same way as feature lines and shown in CYAN colour after the selection.

remesh_multi_4
remesh_multi_5
remesh_multi_6