Problem with Boundary Layer (Bolt Connection)

Hi all,

there is a Video on YouTube showing a bolted connection.
I redesigned the example and wasn`t able to create the boundary layer for the section.


When you open the pmx try to create a boundary layer on the white screw part :

Prepomax gives me the error " The given Key was not present in the diccionary"

Try for yourself and let me know if i miss something

I also did the example from the YouTube video and there I was able to create Boundary layers on both sides of the section cut. However in my example it is not working. I also experienced this issue with big assemblies with more than one screw.

.pmx Data (PrePoMax 1.2.0):
ScrewedConnection.pmx (1.6 MB)

I’ve checked your model and here are some notes:

  • it works for the upper region of the screw
  • each region of the screw has a different mesh since they are separate parts. I merged them into a compound part (like in Matej’s video) but the same error still appears.
  • it seems that your model was imported as an STL file, I would try with STEP format too

This indeed seems to be a bug.

1 Like

Hi Jakub,

thank you for your insights.
I used an step file, unfortunately i cant upload it here because it is not supported.
I got this error quite often in assemblies, so i think it is a general bug.

Maybe you can further look into it
Best regards

It should be possible to upload ZIP files here so you could add your STEP model in such format.

Thanks for the tip !
The step is attached here :
Bolting_two_flanges_test.zip (6.3 KB)

I can confirm that the same behavior is observed for the STEP format. However, it still might be a fault of CAD software. I wonder why it’s hollow after import. Can you say more about the geometry preparation process - which program did you use and how did you prepare the model for export (especially how did you split the screw into 2 separate parts) ?

I also checked the .Stp and it`s not hollow at all at when i import it. :thinking: Could you provide a screenshot ? The Software i used for geometry preparation was Siemens NX and i used simple planes to split the solid in two parts…
Best regards

Sure, here’s how it looks like on my side:

As you might know the Section Cut which is implemented in Prepomax is not able to show solids correctly. This is the normal view you get when you have solids.
When you mesh the parts and cut it afterwards then you will see a closed surface
Best regards

I almost never use the Section Cut tool before meshing (after that there are no problems with such visualization) and I thought that it used to show solid geometry correctly but I can be wrong. FreeCAD has the same effect with cut views.

Anyway, the problem with boundary layer appears to be a bug so let’s wait for Matej’s response.

The section cut feature in the Geometry module is working as described. It only cuts the geometry and does not create a filled surface for the solid parts. It is a missing feature not easy to add.

On the other hand the prismatic boundary layer obviously has a bug. This feature is quiet complex in order to keep all other geometry features such as vertices, edges and surfaces and visualisation items numbered with the same ids. I will try to fix it as soon as possible.

2 Likes

Hi Matej,
thanks for the reply.
To fix the section cut in the Geometry module is not that important i think.
The prismatic boundary layer is very useful, so an fix would be highly appriciated.
Best regards

Ok, I have found the bug. The problem was bigger than I thought and hidden in the function that imports the mesh after meshing the geometry in PrePoMax. It had no connection with the prismatic boundary layer directly. It also caused other problems that prevented some edges to be selected properly and maybe some problems that I am not even aware of. That is why I will release an updated 1.2.0 version of the PrePoMax tomorrow (1.2.1) with only this bug fix.

3 Likes