# Contact pressure calculation error on spherical surface, welcome to discuss?

**URL:** <https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216>\
**Category:** General Questions\
**Created:** [June 2, 2022, 6:47am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216 "2022-06-02T06:47:22Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 2, 2022, 6:47am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/1 "2022-06-02T06:47:22Z")

</div>

[Hertz contact.zip](https://prepomax.discourse.group/uploads/short-url/gn1kz0tic9Xc256OrNI3Qq9rD2M.zip) (5.2 MB)  
In the spherical contact problem, I found that the calculation results of calculix contact pressure distribution are very different from those of abaqus and ansys. The maximum contact pressure of calculix appears on the edge of the contact surface, which is obviously wrong. The maximum contact pressure should appear at Center, I don’t know if this error is caused by prepromax software or calculix software.  
Welcome everyone to discuss, see the attachment for the model

 ![cpress.PNG](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/db6d542280c2a85599460ab314226153c7365367.jpeg)  
 ![model](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/e15d5c1fb71bce6d86e10dc181354e1f63e9f7e8.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:** [June 2, 2022, 7:53am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/2 "2022-06-02T07:53:19Z")

</div>

This seems to be just some artifact that may disappear with further mesh refinement. I also get a small concentration in that area when I run your model without any changes but the maximum value is reported in a different location:

 ![max ccx](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/90ca96486bbccbb7930182652a86701010329f29.png)

Anyway, it’s not a fault of PrePoMax but it can be caused by some inaccuracy of CalculiX when compared with other solvers that you’ve mentioned. Maybe ask on the CalculiX forum if you are still concerned about this.

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 3, 2022, 1:08am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/3 "2022-06-03T01:08:02Z")

</div>

I think you are right, this may be caused by inaccurate calculation of contact pressure by calculix, or its contact algorithm is not accurate enough. In fact, from your calculation results, the results are still different from abaqus and ansys. The contact of commercial software The pressure calculation is even better!

---

<div class="post-metadata">

**Author:** ![lucas\_bueno](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/lucas_bueno/32/1168_2.png) [@lucas\_bueno](https://prepomax.discourse.group/u/lucas_bueno)\
**Post date:** [June 3, 2022, 1:33am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/4 "2022-06-03T01:33:35Z")

</div>

How did you define the surface behaviour? Is it hard, linear, exponential… And which parameters did you use? I was analyzing some Hertz contact between cylinder and plane in the last few days and my results were actually pretty accurate for pressure and Mises equivalent.

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 3, 2022, 2:14am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/5 "2022-06-03T02:14:48Z")

</div>

The result of the cylinder facing the plane or the sphere facing the plane is still good, but the result of the sphere facing the sphere is as shown above. In addition, I think the sphere facing the sphere is more difficult. The simplest hard is used here, and the same is true for abaqus

---

<div class="post-metadata">

**Author:** ![lucas\_bueno](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/lucas_bueno/32/1168_2.png) [@lucas\_bueno](https://prepomax.discourse.group/u/lucas_bueno)\
**Post date:** [June 3, 2022, 2:50am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/6 "2022-06-03T02:50:17Z")

</div>

If I remember correctly, both abaqus and prepomax convert hard contact to linear contact with standard values and some penalties to achieve fast convergence. Maybe the default values are different, thus providing different results. What I did was to change the K value in linear contact (stiffness coefficient for the contact) to match analytical pressure, something about 5000 times of the young modulus for my materials did the job (even though documentation says 5 to 50 times, I don’t know if it is a unit problem or something else). When I forced this value, both displacement and stress fields gave values in agreement with hertz theory, but I’m not sure if this is the correct approach. Anyway, hard contact is more conservative for engineering purposes.

If you refine your mesh in the contact region, can you achieve better results? A local refinement should do good.

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 3, 2022, 11:06pm UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/7 "2022-06-03T23:06:50Z")

</div>

From many calculation examples, the calculation results of calculix’s deformation and stress during contact are still good. You said that modifying the penalty stiffness can get different contact forces. I don’t think there is a big problem, and it can also match the experimental results. I mainly I feel that the current form of contact pressure is wrong. Of course, refining the mesh can get better results than the current one, but in fact, the form of the contact pressure of commercial software is also correct when the mesh is not very dense. I’m guessing the problem is caused by calculix’s contact search algorithm. calculix’s contact search algorithm may not handle as well as commercial software.

---

<div class="post-metadata">

**Author:** ![lucas\_bueno](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/lucas_bueno/32/1168_2.png) [@lucas\_bueno](https://prepomax.discourse.group/u/lucas_bueno)\
**Post date:** [June 4, 2022, 2:36am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/8 "2022-06-04T02:36:34Z")

</div>

I understand your point. Not sure on how commercial softwares handle their contact calculations, maybe they have an advantage. How does your model performs on Abaqus/Ansys contact analysis? Do you have a comparison on this so you can share with us?

---

<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:** [June 4, 2022, 9:42am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/9 "2022-06-04T09:42:04Z")

</div>

From my experience in contact simulations using CalculiX parabolic FE have some problems computing the contact pressure distribution. Maybe linear FE will give you a better result.

Mesh refinement could be done only in the area of contact. You can refine a mesh around a point and then use the Grading parameter to increase the mesh size away from the point slower. Or subdivide the surface where the contact occurs.

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 4, 2022, 12:11pm UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/10 "2022-06-04T12:11:56Z")

</div>

Ok, next week I will find time to do an upload

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 4, 2022, 12:13pm UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/11 "2022-06-04T12:13:42Z")

</div>

Ok, I will try it. I also think that the maximum contact pressure of high-order elements occurs at the intermediate nodes. If linear elements are used, they need to be processed into hexahedrons.

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 6, 2022, 2:20am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/12 "2022-06-06T02:20:09Z")

</div>

ANSYS result

 ![ansys结果](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/a9726aef52f5930a4be7c44d325a657fdbd3abe8.png)

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 6, 2022, 2:21am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/13 "2022-06-06T02:21:19Z")

</div>

I just used the linear criterion, and the result is a little better than the hard criterion, but still not ideal

---

<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:** [June 6, 2022, 7:34am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/14 "2022-06-06T07:34:37Z")

</div>

Here’s what I got in Abaqus using the same input file:

 ![abq](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/af093477822fbc9c525f10d40f68b3146f319e24.png)

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 6, 2022, 10:05am UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/15 "2022-06-06T10:05:53Z")

</div>

nice，Therefore, I think that the stress averaging method is not consistent with several software. I can’t find an introduction to the contact search algorithm from calculix’s manul.

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [June 6, 2022, 10:36pm UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/16 "2022-06-06T22:36:05Z")

</div>

![捕获.PNG](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/46e1841a32d4356b1641307e9985834fc13818e2.jpeg)

Good results after mesh refinement

---

<div class="post-metadata">

**Author:** ![synt](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/synt/32/4658_2.png) [@synt](https://prepomax.discourse.group/u/synt)\
**Post date:** [July 29, 2022, 1:17pm UTC](https://prepomax.discourse.group/t/contact-pressure-calculation-error-on-spherical-surface-welcome-to-discuss/216/17 "2022-07-29T13:17:52Z")

</div>

> [@xupeiwust](#):
>
> I’m guessing the problem is caused by calculix’s contact search algorithm. calculix’s contact search algorithm may not handle as well as commercial software.

reading many benchmark test of contact analysis with Abaqus from a report, shown no large discrepancy. if i can say nearly identical results with CalculiX.

> [@FEAnalyst](#):
>
> Here’s what I got in Abaqus using the same input file:

why Ansys reported near half only? make me doubt about the Ansys results. or maybe the problem is in element type using, there’s an improved versions of tetrahedral element.
