# Snap-Fit joint analysis help

**URL:** <https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711>\
**Category:** General Questions\
**Created:** [February 6, 2023, 9:49am UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711 "2023-02-06T09:49:36Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![hua](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hua](https://prepomax.discourse.group/u/hua)\
**Post date:** [February 6, 2023, 9:49am UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/1 "2023-02-06T09:49:36Z")

</div>

Hello,everyone.I’m new guy here and I’m trying to simulate the simple plastic fit joint. I follow the [Gui contact](https://www.youtube.com/watch?v=AaeLSLotwi0&t=7s) , but it dosen’t work.I have no idea what to do.Can someone help me with this? Thanks in advance.

 ![屏幕截图 2023-02-06 174745](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/117d81463a58e03ab380d3fbaeddbe341f5341a5.jpeg)  
 ![屏幕截图 2023-02-06 174838](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/a4ac03a59aeb58eb5fa61218352c16da2e39c819.jpeg)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 6, 2023, 9:55am UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/2 "2023-02-06T09:55:00Z")

</div>

Can you share the .pmx file ? If, as a new user of the forum, you don’t have rights to attach it here yet, you can share a link to some hosting website where this file is stored.

---

<div class="post-metadata">

**Author:** ![hua](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hua](https://prepomax.discourse.group/u/hua)\
**Post date:** [February 6, 2023, 10:04am UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/3 "2023-02-06T10:04:32Z")

</div>

Sure! [snap-fit.pmx - Google Drive](https://drive.google.com/file/d/1ZD9JK4_mQpYrn9ya7fV5C95-KlG-JKYv/view?usp=sharing)  
can’t believe you reply so soon 👍

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 6, 2023, 10:30am UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/4 "2023-02-06T10:30:54Z")

</div>

Contact between an edge and a surface can be really tricky and I would consider refining the mesh in its area but some tweaks with BCs and master/slave assignment also help:

[snap-fit-fixed.pmx](https://prepomax.discourse.group/uploads/short-url/95yaGUv318JMoSdbySk0CDOYcki.pmx) (3.5 MB)

---

<div class="post-metadata">

**Author:** ![hua](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hua](https://prepomax.discourse.group/u/hua)\
**Post date:** [February 6, 2023, 1:37pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/5 "2023-02-06T13:37:30Z")

</div>

Thank you so much, Jakub! I’m not sure how you did it, but it worked!  
 ![GIF 2023-2-6 21-32-07](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/6a1a196687c5a97320165a2c140311187764a3a6.gif)

---

<div class="post-metadata">

**Author:** ![hua](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hua](https://prepomax.discourse.group/u/hua)\
**Post date:** [February 6, 2023, 2:22pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/6 "2023-02-06T14:22:55Z")

</div>

Hi，Jakub, there’s another question. No matter how much I set the displacement, the slider only moves about 20mm and stops at the position of contact with the ramp… I want to achieve the slider to the position shown in the pic. Is there a way to do that?

 ![屏幕截图 2023-02-06 221733](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/c7a567c57b506922e813b8f4343440df268e3976.png)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 6, 2023, 2:27pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/7 "2023-02-06T14:27:47Z")

</div>

Make sure that you have the deformation scale set to True or 1 and that the last frame of the results is displayed.

---

<div class="post-metadata">

**Author:** ![hua](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hua](https://prepomax.discourse.group/u/hua)\
**Post date:** [February 6, 2023, 2:57pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/8 "2023-02-06T14:57:10Z")

</div>

Got it! Thanks~ bro 😃

---

<div class="post-metadata">

**Author:** ![ANYS](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/anys/32/7737_2.png) [@ANYS](https://prepomax.discourse.group/u/ANYS)\
**Post date:** [February 6, 2023, 3:31pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/9 "2023-02-06T15:31:14Z")

</div>

¿Is this right? Parts are not in contact.

 ![imagen](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/b26f46fd92e4d98ef4eac9032c8a93dfe91cdbfe.jpeg)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 6, 2023, 4:06pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/10 "2023-02-06T16:06:03Z")

</div>

They are in contact initially. And then the block causes the beam to deflect and keeps moving forward.

---

<div class="post-metadata">

**Author:** ![ANYS](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/anys/32/7737_2.png) [@ANYS](https://prepomax.discourse.group/u/ANYS)\
**Post date:** [February 6, 2023, 7:22pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/11 "2023-02-06T19:22:35Z")

</div>

Mmmh….Maybe it’s the visualization but something is not ok in that solution.  
Both should be constantly in contact to fulfill the static equilibrium all the run.  
This could be a nice tutorial. I don’t know how to set up this in Prepomax.

![snap-fit-fixed](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/35c98fd7f7c055fa7418102c91c661e505a36fc1.gif)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 6, 2023, 8:23pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/12 "2023-02-06T20:23:16Z")

</div>

> [@ANYS](#):
>
> Both should be constantly in contact to fulfill the static equilibrium all the run.

I think that it’s fine in terms of static analysis assumptions. In some increments, both parts are separated but they don’t exhibit rigid body motions and the analysis converges without the need for stabilization / numerical damping. However, I agree that the joint should behave differently but it’s likely a matter of proper geometry (including relative placement of both parts), material properties and enforced displacement BCs. I just fixed the model uploaded by the OP to make the contact work.

---

<div class="post-metadata">

**Author:** ![ANYS](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/anys/32/7737_2.png) [@ANYS](https://prepomax.discourse.group/u/ANYS)\
**Post date:** [February 6, 2023, 9:17pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/13 "2023-02-06T21:17:52Z")

</div>

> [@FEAnalyst](#):
>
> I just fixed the model uploaded by the OP to make the contact work.

I wasn’t criticizing your input. I really like your contributions and I look at them carefully to learn. It’s just that I think there is something wrong (maybe a bug).  
Both objects start to move at the same time. Prepomax is wrong or I’m not setting properly the animations. Check the image. That’s impossible. Seems like there is a remote contact.

 ![imagen](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/e29e26ab54ecd28f949249f517db892bb11b03fe.jpeg)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [February 6, 2023, 9:23pm UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/14 "2023-02-06T21:23:49Z")

</div>

It should be better when you switch the _Animation type_ to _Time increments_ instead of _Scale factor_.

---

<div class="post-metadata">

**Author:** ![hua](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hua](https://prepomax.discourse.group/u/hua)\
**Post date:** [February 7, 2023, 2:12am UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/15 "2023-02-07T02:12:04Z")

</div>

Hi,ANYS,Could you tell what software you ues to do this?

---

<div class="post-metadata">

**Author:** ![hua](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hua](https://prepomax.discourse.group/u/hua)\
**Post date:** [February 7, 2023, 3:04am UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/16 "2023-02-07T03:04:29Z")

</div>

![GIF 2023-2-7 10-59-35](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/09dddb3fd82fc148b7a5729aaf506235df1f2c80.gif)  
As Jakub said,I set deformation scale factor to 1 and Animation style to TIme increments,which results good. But,When the slider is in the latter part of the contact, a large value of stress appears.

---

<div class="post-metadata">

**Author:** ![ANYS](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/anys/32/7737_2.png) [@ANYS](https://prepomax.discourse.group/u/ANYS)\
**Post date:** [February 7, 2023, 7:45am UTC](https://prepomax.discourse.group/t/snap-fit-joint-analysis-help/711/17 "2023-02-07T07:45:09Z")

</div>

@FEAnalyst

Thanks, I knew somethig was wrong.

@hua

I’m using ccx as solver too but with Mecway. I can’t set up the model in Prepomax.  
That high stress probably refers to the contat stress. Not sure why it is showing it only at the end.
