Mesh refinement in snap fit

Hello every one!
I simulated a snap fit, when I define refinement in the slave and master mesh, the simulation does not work properly. It works properly without mesh refinement.
How can I solve this problem?

Can you share the files ? Contact definition is important here - how you assign master and slave surfaces, what type of contact is used and so on.

Thank you for your answer. You can download the file through the link below.

You have to set access to “Anyone with the link” before copying the link and pasting it here.

Ok, I think it works now.

What value of mesh refinement did you use ? I tried 0.4 mm but it takes a lot of time to solve.

Don’t you want to include friction ? Also, I would reduce the model to the connection and its closest surroundings at least for now.

The value of refinement does not matter (you can set it to 1mm), but if there is refinement around the contact area, it will make the model not work properly.

I’m in the early stages of simulation and plan to add friction next.

Is there a guide that explains the different contacts and their parameters?

Results with mesh refinement set to 1 mm:

snap-fit

Mainly CalculiX documentation but you can also find some helpful tips on the CalculiX forum. For example, here: Contact stiffness setting - CalculiX (official versions are on www.calculix.de, the official GitHub repository is at https://github.com/Dhondtguido/CalculiX).

Thank you. Why mesh refinement is done but the hook is not placed?
When we don’t have mesh refinement, the hook is placed correctly.

Results without mesh refinement:

snap-fit no refinement

You could use amplitude to control the prescribed displacement BC in such a way that it reaches the maximum distance before the end of the simulation and then there’s some time for the hook to snap back.

snap-fit mod

As you can see, I reduced your model for testing.

3 Likes

Thank you so much.
If possible, share the second simulation file.

  1. In the second simulation, the size of all the elements is smaller, if I use mesh refinement on a specific edge or plane, will the simulation still work correctly?
  2. Did you use amplitude in the second simulation? If possible, explain a little more about the amplitude settings.

It would be very interesting trying to solve this problem with hyperelastic material. It is closely related to this other post. I haven’t been able to solve it with the final snap.

Found that just an small cut helps to get a softer transition at the entrance and final snap (Only able to solve it with elastic).

Guess that for investigate the clipping feature you don’t need to model the contact at all, just impose a lateral displacement in the tip of the clip feature and what you’ll see is that the main stress is in the base of the clip. You could refine the mesh in the head of the clip to capture better the contact, but that will not solve your issue of the high stress in the base, you need to model that area with a radius and focus there.

Without using contact you can reach the same results and try ten different radius or shapes of the clip in the same time that you solve only one with contact.

I have run your problem, and there is also a big interference in the main body, guess that you should add contact there or fix the cad.

For that, analytical calculation (cantilever beam) could be sufficient. Unless the OP wants to evaluate the stresses in contact and see what happens with the tip.

It acts essentially as a rigid body anyway. Might be better to get rid of it and focus on the joint like in my last gif.

Usually, linear elasticity is sufficient in snap-fit design studies (at least to estimate the forces in the joint). However, theoretically, this material model is valid for small elastic strains up to around 5% (which can be exceeded a bit here).

As analyst, the first thing that one sholud ask for, is “what the goal of the analysis/What results I need?”, and then build and focus on just the minimun model to give a razonably accurate answer to this question. Is something basic, but even experienced analyst fail in this (as me).

For example, in the case of a clippling analysis, the results needed could be:

  1. I need to know the clipping force
    Then you need to model only the clip (only one, no matter if your part has several. Even you could model a one element thikness mesh and multiply the resulting force by the real thicknes), whithout radius in the base, maybe a radius in the tip to help the contact. For the oposite part (the “female” clip) you need only to model a layer of one element that get in contact with the male, is not need all the rest of the material. The problem here is this force will depend a lot on the contact properties… but as you have a really small model, you can investigate several contact configurations in a very short time

  2. I need to know the retention force, or the force to unclip the clip
    Then you can use the same model as above, but start in the clipped position! Don´t try to run the clip/unclip operation, it has no sense and will be wasting of time

  3. I need to know if my clip will not broke during the clip operation
    Then here you need to know stress and strains, and the clip must include the radius that release stress in the base (only that, there are some radius that doesn´t affect the stress result and can be removed). As you need only the max stress/strain, then you don´t need contact at all, just apply a lateral displacement in the tip and you get the same stress state as with contact with 10x less time. Again you can work with a one element thickness model, and then put a lot of elements in the base radius that is where the action will happen, and still will be a very small model, but with high accuracy in the interest area

  4. I need to know how the clip asembly will perform during traction (will it broke or release?)
    Same model as above, but with contact and maybe add more radius in base of the tip also because probably there is were the action (stress) will be. Again start with the part clipped and try several contact conditions.

  5. My boss ask me for a set of spectacular images for posting in Linkedin (or want to impress a girl/friends at bar) including the part and the clip during clipping operation…
    Then you are f*ed, you need to work with the whole model. But still you can use a quarter model, and replicate in postprocessing! Here as they are just for show…you can use lineal elements ;-), and the more bigger that your part/mesher can accept, nobody will see the elements in the cage, the focus will be in the clip.

For cases 1-4 the deformation of the part is visible at true scale, that is an indication that the analysis should be at least no lineal due to big displacements (great deformation of the orignal shape), and if is a plastic clip, then is prefferifble to use a propper plastic material definition. For case 5 you must use the most basic material, as the focus of the job is to get a set of spectacular (not accurate) images.

3 Likes

Right, we don’t know the goal here so we can only guess and suggest different approaches for different scenarios. But, as usual, the discussion went a bit too far without more feedback from the OP. The main goal seems to be achieved so let’s wait for potential further questions.

Thank you all, I have already asked my questions about the simulation you posted and I am waiting for your reply.
I ask my questions here again:
"If possible, share the second simulation file.

In the second simulation, the size of all the elements is smaller, if I use mesh refinement on a specific edge or plane, will the simulation still work correctly?
Did you use amplitude in the second simulation? If possible, explain a little more about the amplitude settings."

I want to check if the clamp breaks during meshing, first I need to make sure my simulation is working properly and then check other parameters and currently I still don’t understand why when I apply mesh refinement the operation to It does not work properly

(post deleted by author)

I can share the file later.

Yes, it should work with refinement. I didn’t use it there, just refined the whole mesh but there’s no reason why it couldn’t work with refinement now.

Yes, I used the amplitude feature to control the movement of the part with the hook. It was defined this way:


t       A
0       0
0.8     1
1       1