# Interference fit implementation

**URL:** <https://prepomax.discourse.group/t/interference-fit-implementation/409>\
**Category:** General Questions\
**Created:** [September 22, 2022, 11:16am UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409 "2022-09-22T11:16:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_28](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@Matt\_28](https://prepomax.discourse.group/u/Matt_28)\
**Post date:** [September 22, 2022, 11:16am UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/1 "2022-09-22T11:16:45Z")

</div>

Good morning,

I would like to know if there is a way to make an interference fit in PrePoMax; for example, in order to simulate the stress of an inner cage of a bearing on a shaft.

Thank you.

---

<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:** [September 22, 2022, 1:00pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/2 "2022-09-22T13:00:58Z")

</div>

This would be very useful but currently, it’s not implemented. In fact, CalculiX doesn’t support it in the form of keywords, it’s necessary to use the `presfit` option in GraphiX (CalculiX’s native pre- and postprocessor) which utilizes MPCs to move the nodes. Here’s a discussion about this feature on CalculiX forum: [Modeling interference fit (shrink fit) - CalculiX](https://calculix.discourse.group/t/modeling-interference-fit-shrink-fit/603)

And a video with an example: [Interference Fit Analysis using Calculix || CAE4U || Finite element Analysis || GMSH - YouTube](https://www.youtube.com/watch?v=pXRIcXJz5X8)

So to implement this in PrePoMax it would be likely necessary to add automatically generated MPCs like those used by GraphiX but MPCs are not yet supported in PrePoMax as well.

---

<div class="post-metadata">

**Author:** ![GB61](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@GB61](https://prepomax.discourse.group/u/GB61)\
**Post date:** [September 22, 2022, 4:38pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/3 "2022-09-22T16:38:22Z")

</div>

We recently used an axisymmetric model to check an interference fit with PrePoMax (file attached). We modeled the parts with the parts overlapping by the interference amount. We then used a linear surface interaction at the interface.

We haven’t done enough testing to confirm this will give accurate results with other materials or geometries, but in this case the radial and tangential stresses at the interface closely matched calculations from an in-house spreadsheet we have used successfully for several years.

[Two\_Piece\_A.pmx](https://prepomax.discourse.group/uploads/short-url/AtCIXvIhnmrzA2CnpEy2t9yrOCX.pmx) (333.0 KB)

---

<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:** [September 22, 2022, 5:16pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/4 "2022-09-22T17:16:36Z")

</div>

That’s interesting, I thought that contact algorithms in CalculiX can’t handle interference fits correctly, as you can see in the referenced thread on ccx discourse group. I used a simple example with two cylinders and compared the results (CPRESS) with the same model solved in Abaqus and with the analytical solution. Maybe contact settings in CalculiX have to be changed. Thank you for sharing the file, I will take a closer look at it and try to do some additional tests.

---

<div class="post-metadata">

**Author:** ![Matt\_28](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@Matt\_28](https://prepomax.discourse.group/u/Matt_28)\
**Post date:** [September 22, 2022, 5:17pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/5 "2022-09-22T17:17:27Z")

</div>

Thank you for the hint. For more complex geometries, for example ring, is there a way to simulate the interference like that geometry? We should define a ring of a diameter 0.05 smaller than the shaft, then use a linear surface interaction. Does it might work?

---

<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:** [September 22, 2022, 6:13pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/6 "2022-09-22T18:13:54Z")

</div>

I checked your file and apparently the trick that makes it work is that you are making use of thermal expansion. That’s the traditional approach commonly used in the past in FEA when interference fit algorithms were not available. As I’ve mentioned, I was trying to realize such a simulation with an approach known from Abaqus - interference fit option for contact which automatically adjusts the nodes with strain generation (as opposed to strain-free adjustment used for example with tie constraints). However, it seems to be impossible in CalculiX without using GraphiX.

---

<div class="post-metadata">

**Author:** ![GB61](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@GB61](https://prepomax.discourse.group/u/GB61)\
**Post date:** [September 22, 2022, 7:27pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/7 "2022-09-22T19:27:39Z")

</div>

Thank you for looking into this. In the past with other software I have used thermal expansion to simulate an interference fit. In this case the “zero temperature” for thermal expansion of the materials is the same as the initial condition specified (70 F), therefore there should not be any actual thermal expansion. I just removed the thermal expansion coefficients and the initial temperature, and it still appears to solve correctly.

---

<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:** [September 22, 2022, 7:45pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/8 "2022-09-22T19:45:07Z")

</div>

Then I’ll try with an axisymmetric model like you did. With plane strain, I got completely incorrect results. Maybe I’ve encountered some bug.

---

<div class="post-metadata">

**Author:** ![GB61](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@GB61](https://prepomax.discourse.group/u/GB61)\
**Post date:** [September 22, 2022, 7:50pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/9 "2022-09-22T19:50:17Z")

</div>

It is interesting, because we also ran the analysis with a quarter model and symmetry on the cut surfaces and got the same results. I’m starting to wonder if I set things up incorrectly and it just happened to work.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [September 24, 2022, 6:44pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/10 "2022-09-24T18:44:13Z")

</div>

> [@FEAnalyst](#):
>
> This would be very useful but currently, it’s not implemented. In fact, CalculiX doesn’t support it in the form of keywords, it’s necessary to use the `presfit` option in GraphiX

What kind of keywords are created by GraphiX in order to simulate presfit? Do you also know how they work in the background?

---

<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:** [September 24, 2022, 9:03pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/11 "2022-09-24T21:03:19Z")

</div>

I have very little experience with GraphiX but I managed to use this command (_send dep indep abq areampc presfit sx_ where _x_ is the distance) for a simple test case. It generates two files - one with .bou extension (with `*BOUNDARY` keywords) and one with .equ extension (with `*NODE` and `*EQUATION` keywords). Their syntax is the same as that of .inp files. Of course, I can share them here if needed. According to the documentation, the nodes in the _dep_ set are moved by the specified distance in the normal direction with respect to the _indep_ set. I checked the aforementioned files and BCs refer to control nodes defined in the .equ file. Those nodes are used in equations together with the nodes from the defined sets.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [September 27, 2022, 12:49pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/12 "2022-09-27T12:49:33Z")

</div>

The interface fit should then be a separate analysis step in which the nodes are moved from the initial (slave) to the final (master) position using BCs. And then, a second step with contacts is added.

PrePoMax could compute the needed displacements based on the shortest distance between the slave nodes and master elements.

---

<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:** [September 27, 2022, 1:01pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/13 "2022-09-27T13:01:52Z")

</div>

Right, implementing this as a step type seems to be a good idea. In Abaqus it’s just an option for contact definition but Abaqus has a single keyword for that and CalculiX requires the aforementioned complicated workaround.

In addition to automatically calculated distance, I would also add an option to specify the distance manually.

---

<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:** [December 18, 2022, 8:34pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/14 "2022-12-18T20:34:46Z")

</div>

After some tests and discussion with Guido, it turned out that interference fit can be resolved using default contact settings (of course without the ADJUST parameter). I just uploaded a tutorial showing this: [PrePoMax (CalculiX FEA) - Tutorial 29 - Interference fit (press fit / shrink fit) - YouTube](https://youtu.be/sos-6ilPIZc)

---

<div class="post-metadata">

**Author:** ![Droid](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Droid](https://prepomax.discourse.group/u/Droid)\
**Post date:** [October 24, 2024, 11:00am UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/15 "2024-10-24T11:00:44Z")

</div>

Just continuing on this topic. I had created a shaft and a bush with interference fit with contact pair. The results show von misses as as contact pressure concentrated along the four corners only, any suggestions?

 ![Capture](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/d/d034e12f723f8c03f74f7111a72995610a2f9508.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:** [October 24, 2024, 11:10am UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/16 "2024-10-24T11:10:06Z")

</div>

What does the CPRESS plot look like? And maybe also COPEN.

---

<div class="post-metadata">

**Author:** ![Droid](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Droid](https://prepomax.discourse.group/u/Droid)\
**Post date:** [October 24, 2024, 11:38am UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/17 "2024-10-24T11:38:35Z")

</div>

![Capture](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/7/74afa6ccd26deb0a7ed10269508bb1fd97c01665.jpeg)  
 ![Capture1](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/2/28aa211eeb200f8eda05c0f05733bcf8ea0452fe.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:** [October 24, 2024, 11:41am UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/18 "2024-10-24T11:41:24Z")

</div>

What are your contact (and contact property) settings ?

---

<div class="post-metadata">

**Author:** ![Droid](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Droid](https://prepomax.discourse.group/u/Droid)\
**Post date:** [October 24, 2024, 11:52am UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/19 "2024-10-24T11:52:43Z")

</div>

![Capture](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/4/4e89f37d97815edcf4e0f6eb24a5e331e3157a56.jpeg)  
 ![Capture1](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/5/575d0568b6fc9ff358b61e8a84ee0cfca30f47e4.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:** [October 24, 2024, 12:04pm UTC](https://prepomax.discourse.group/t/interference-fit-implementation/409/20 "2024-10-24T12:04:06Z")

</div>

Settings of the contact pair are also important. You should disable adjustment and use Surface to surface type. But if it doesn’t work well, you can try with Mortar. However, I would try refining the mesh first to capture the required initial penetration properly.

[Next page](https://prepomax.discourse.group/t/interference-fit-implementation/409.md?page=2)
