# NLGEOM Convergence Issue

**URL:** <https://calculix.discourse.group/t/nlgeom-convergence-issue/2165>\
**Category:** Uncategorized\
**Created:** [March 21, 2024, 1:46pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165 "2024-03-21T13:46:29Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![NLSim](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@NLSim](https://calculix.discourse.group/u/NLSim)\
**Post date:** [March 21, 2024, 1:46pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/1 "2024-03-21T13:46:29Z")

</div>

Hello,

I am following an online tutorial to learn non-linear simulation, and have been stumped by the first problem.

This model has been set up in both Mecway and PrePoMax, and is supposed to demonstrate the membrane state of some beams, so one run with Linear Material, Linear Geometry (which solves fine in under a second with correct results), and another run with Linear Material, and Non-Linear Geometry, which fails no matter what I try:

- Different solvers (PASTIX, PARDISO, SPOOLES), automatic and small direct iterations.
- Varying mesh size.
- Isolating the problem to just the small 1m beam.
- Enabling plasticity - no luck.
- Linear/Quadratic elements.
- And probably some more I have forgotten.

CCX .inp:  
[Example-01 CCX.inp](https://1drv.ms/u/s!ArEIoEeABInJmssgpMpmp08caNbYOQ?e=taXbzl)

PrePoMax .pmx  
[Example-01.pmx](https://1drv.ms/u/s!ArEIoEeABInJmsp7bH7tBBR_tlEYAQ?e=hezhxu)

Can anybody see anything that might be causing an issue?

I see some people have issues with large deflections or some NL problems with CCX, but generally on very large models - I still have this problem on just the 1m long beam (~1000 elements).

Thank you for any assistance.

---

<div class="post-metadata">

**Author:** ![Calc\_em](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Calc\_em](https://calculix.discourse.group/u/Calc_em)\
**Post date:** [March 21, 2024, 1:50pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/2 "2024-03-21T13:50:11Z")

</div>

Hard to say without knowing almost anything about the model itself - geometry, type of elements, boundary conditions, loads, constraints/interactions and so on.

---

<div class="post-metadata">

**Author:** ![NLSim](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@NLSim](https://calculix.discourse.group/u/NLSim)\
**Post date:** [March 21, 2024, 1:51pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/3 "2024-03-21T13:51:21Z")

</div>

Sorry, I accidentally submitted the post before finishing, link to the PrePoMax file attached, I will export a CCX .inp and upload images now.

---

<div class="post-metadata">

**Author:** ![NLSim](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@NLSim](https://calculix.discourse.group/u/NLSim)\
**Post date:** [March 21, 2024, 1:55pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/4 "2024-03-21T13:55:19Z")

</div>

![PMX LMLG 1m S11](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/e/e6e379bda5e04e3a60bc52c80e06b7dbb46e5587.png)

---

<div class="post-metadata">

**Author:** ![NLSim](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@NLSim](https://calculix.discourse.group/u/NLSim)\
**Post date:** [March 21, 2024, 1:56pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/5 "2024-03-21T13:56:04Z")

</div>

![PMX LMNLG Global View](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/d/d4e0022392ecbac7b041d1339db56dbc2e2e0f14.png)

---

<div class="post-metadata">

**Author:** ![NLSim](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@NLSim](https://calculix.discourse.group/u/NLSim)\
**Post date:** [March 21, 2024, 1:56pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/6 "2024-03-21T13:56:42Z")

</div>

![PMX LMNLG Solver Convergence (PARDISO)](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/c/cb35d1962cdcb732572d6cc757c46c98753cac6c.png)

---

<div class="post-metadata">

**Author:** ![NLSim](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@NLSim](https://calculix.discourse.group/u/NLSim)\
**Post date:** [March 21, 2024, 1:57pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/7 "2024-03-21T13:57:30Z")

</div>

![PMX LMNLG Zoom View 5m](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/7/7a3810c50cc9e4d22cef4037d620dcde9eb8f771.png)

---

<div class="post-metadata">

**Author:** ![NLSim](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@NLSim](https://calculix.discourse.group/u/NLSim)\
**Post date:** [March 21, 2024, 1:58pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/8 "2024-03-21T13:58:02Z")

</div>

![PMX Setup](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/f/f288a3e49ccff4869d26d428bc45f29d7bf350a5.png)

---

<div class="post-metadata">

**Author:** ![NLSim](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@NLSim](https://calculix.discourse.group/u/NLSim)\
**Post date:** [March 21, 2024, 2:18pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/9 "2024-03-21T14:18:21Z")

</div>

Tried running dynamic explicit just as a “hail mary”, and got this error:

 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/3/399ea0320348526809bc6e461cfb67db2a51ace6.png)

`*Error in nonlingeo: linear and nonlinear MPC's depend on each other`

Does this have any significance?

---

<div class="post-metadata">

**Author:** ![Calc\_em](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Calc\_em](https://calculix.discourse.group/u/Calc_em)\
**Post date:** [March 21, 2024, 2:36pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/10 "2024-03-21T14:36:26Z")

</div>

Currently, rigid body constraints don’t work with 2D elements in explicit dynamics: [Rigid body constraint doesn't work with shell, axisymmetric and plane stress/strain elements in explicit dynamics · Issue #59 · Dhondtguido/CalculiX · GitHub](https://github.com/Dhondtguido/CalculiX/issues/59)

What’s even worse, shells + rigid body constraints + Nlgeom may result in abnormal convergence issues: [Rigid-body constraint convergance problems](https://calculix.discourse.group/t/rigid-body-constraint-convergance-problems/369)

So it might be better to use solid elements in this case or avoid rigid body constraints.

---

<div class="post-metadata">

**Author:** ![JuanP74](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@JuanP74](https://calculix.discourse.group/u/JuanP74)\
**Post date:** [March 21, 2024, 5:00pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/11 "2024-03-21T17:00:42Z")

</div>

I think your boundary conditions are inconsistent for a non linear problem using membrane elements that don’t have out of plane stiffness. These membrane elements are built in ccx (check the manual, please) from the shell elements, so in order membrane to work you should block as well rotX, rotY degrees of freedom of ALL nodes (dofs 4,5), maybe even rotZ at the attachments.

---

<div class="post-metadata">

**Author:** ![NLSim](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@NLSim](https://calculix.discourse.group/u/NLSim)\
**Post date:** [March 21, 2024, 5:06pm UTC](https://calculix.discourse.group/t/nlgeom-convergence-issue/2165/12 "2024-03-21T17:06:51Z")

</div>

With solid elements it works and shows the desired stress distribution for the exercise, so this is a partial success, thank you Calc\_em!

Looks like this is a limitation of CCX with RBEs and Shell Elements then indeed…

I hope this doesn’t cause me too many issues through the course.

 ![PMX LMNLG 10m S11 Pinned-Pinned](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/1/123b1f3de601974913db3ac8d0834d64cb66fdb2.png)
