# "An error occurred"

**URL:** <https://www.simscale.com/forum/t/an-error-occurred/84407>\
**Category:** Solid Mechanics / FEA\
**Created:** [February 19, 2019, 9:03am UTC](https://www.simscale.com/forum/t/an-error-occurred/84407 "2019-02-19T09:03:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 19, 2019, 9:03am UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/1 "2019-02-19T09:03:59Z")

</div>

Hi all, I’m having issues with getting a solution on this model:

> **[wheelchair frame by andycai | SimScale](https://www.simscale.com/projects/andycai/wheelchair_frame/)**
>
> ucsb capstone, the rallyrig frame solid mechanics | Simulation project by andycai

The error stated is “An error occurred”. I’m not sure what’s going on anymore, and I simply can’t think of anything else. I’m 27 hours in working on this, and it’s simply not working! Any tips?

Very respectfully, and thank you in advance.

---

<div class="post-metadata">

**Author:** ![jousefm](https://www.simscale.com/forum/user_avatar/www.simscale.com/jousefm/32/34908_2.png) [@jousefm](https://www.simscale.com/forum/u/jousefm)\
**Post date:** [February 19, 2019, 10:27am UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/2 "2019-02-19T10:27:46Z")

</div>

Hi there Andy!

You did not create any connections so far that are needed in your case - you have more options:

1. **[Contacts](https://www.simscale.com/docs/simulation-setup/contacts/)**

2. **[Physical Contacts](https://www.simscale.com/docs/simulation-setup/contacts/physical-contacts/)**

* * *

Best,

Jousef

---

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 19, 2019, 10:58am UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/3 "2019-02-19T10:58:03Z")

</div>

Hi Jousef, thanks for the quick reply! Does this mean that for all mates, I would need to make a new connection in Simscale? For example, there are a lot of holes that fit int 80/20 slots. Would this mean that I need to make a bonded connection between faces that are touching, regardless of mates made in Solidworks prior to importing to Simscale?

---

<div class="post-metadata">

**Author:** ![jousefm](https://www.simscale.com/forum/user_avatar/www.simscale.com/jousefm/32/34908_2.png) [@jousefm](https://www.simscale.com/forum/u/jousefm)\
**Post date:** [February 19, 2019, 11:12am UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/4 "2019-02-19T11:12:07Z")

</div>

Hi Andy!

Brep models for instance implicitly contain contact information afaik. For the rest you would have (for now) have to define the contacts manually but we are already working on a solution for this, also see **[Automatic Contact Detection](https://www.simscale.com/forum/t/automatic-contact-detection/73288)**.

Cheers,

Jousef

---

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 19, 2019, 11:14am UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/5 "2019-02-19T11:14:09Z")

</div>

Hi Jousef! That’s certainly a bummer, but I’m glad that I might be able to work this through! I’ll keep you updated with how the simulation goes.

Very respectfully,  
Andy

---

<div class="post-metadata">

**Author:** ![jousefm](https://www.simscale.com/forum/user_avatar/www.simscale.com/jousefm/32/34908_2.png) [@jousefm](https://www.simscale.com/forum/u/jousefm)\
**Post date:** [February 19, 2019, 1:36pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/8 "2019-02-19T13:36:08Z")

</div>

Hi Andy!

This feature will be released soon and you won’t have to worry about such issues in the future 🙂

Happy SimScaling!

Jousef

---

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 19, 2019, 5:31pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/9 "2019-02-19T17:31:28Z")

</div>

Hey Jousef, I’m having issues with “unexpected solver issues” or something now, what’s your take on this?

Andy

---

<div class="post-metadata">

**Author:** ![jousefm](https://www.simscale.com/forum/user_avatar/www.simscale.com/jousefm/32/34908_2.png) [@jousefm](https://www.simscale.com/forum/u/jousefm)\
**Post date:** [February 19, 2019, 8:34pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/10 "2019-02-19T20:34:17Z")

</div>

Hi Andy!

One of the issues that might cause this is that your contacts are defined arbitrarily The master and slave surface have to touch when using contact - to decide which surface is the master and which one the slave you can use this post as a help: **[Master and slave assignments](https://www.simscale.com/forum/t/master-and-slave-assignments/22254)**.

Let me know if you have done it and I will check.

Cheers,

Jousef

---

<div class="post-metadata">

**Author:** ![rszoeke](https://www.simscale.com/forum/user_avatar/www.simscale.com/rszoeke/32/14_2.png) [@rszoeke](https://www.simscale.com/forum/u/rszoeke)\
**Post date:** [February 19, 2019, 8:41pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/11 "2019-02-19T20:41:16Z")

</div>

Hi @andycai,  
your latest failed run (Run 11) failed due to insufficient memory on the computing instance as mentioned in the error message.

You are using a solver which is not supposed to be used with large systems (probably you selected it by just trying out several changes) and you have a rather large mesh with 1.3 million nodes.

I would propose that you rather use the MUMPS solver, which is the most robust one. If you are lucky, an iterative solver like PETSC might also work and use much less memory then MUMPS with an increased speed.

Finally, I saw that you selected a nonlinear analysis, but you don’t have any nonlinearities in your setup. I would also try to fist solve your model in a linear static analysis and once this works, switch to a nonlinear analysis.

I copied your project and am trying the above mentioned suggestions. I will let you know once the run finishes.

Best,  
Richard

---

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 19, 2019, 8:58pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/12 "2019-02-19T20:58:59Z")

</div>

> [@jousefm](#):
>
> One of the issues that might cause this is that your contacts are defined arbitrarily The master and slave surface have to touch when using contact - to decide which surface is the master and which one the slave you can use this post as a help: **[Master and slave assignments](https://www.simscale.com/forum/t/master-and-slave-assignments/22254)**.

Hi Jousef, I’m actually unable to reach some of the faces that are supposed to be mated together. Is there a function in Simscale that can let me select different layers of faces (i.e. a face that is blocked by another by geometry)? I’m currently using a bonded contact between surfaces that are adjacent to each other (side by side, not face to face) instead because I cannot select the actual mated surfaces.

Best  
Andy

---

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 19, 2019, 8:59pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/13 "2019-02-19T20:59:56Z")

</div>

Hi @rszoeke, thanks for the input and help! I’ll be running another sim with different contact points this time and see how it goes. Will keep you updated!

Best  
Andy

---

<div class="post-metadata">

**Author:** ![rszoeke](https://www.simscale.com/forum/user_avatar/www.simscale.com/rszoeke/32/14_2.png) [@rszoeke](https://www.simscale.com/forum/u/rszoeke)\
**Post date:** [February 19, 2019, 9:07pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/14 "2019-02-19T21:07:58Z")

</div>

Hi @andycai,  
there are several options: you can either hide the blocking faces or bodies or alternatively use the function “select other” (or “assign other”) which exactly lets you select through the different layers at the point where the mouse pointer is at the time of the right-click.

Check this video to see how it works:

https://www.loom.com/embed/54dfbf12ca4a4dbeb3250bb09354f58d

Best,  
Richard

---

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 19, 2019, 9:14pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/15 "2019-02-19T21:14:43Z")

</div>

Awesome, just took a look at it; works really well! I’ll keep you posted.

Andy

---

<div class="post-metadata">

**Author:** ![rszoeke](https://www.simscale.com/forum/user_avatar/www.simscale.com/rszoeke/32/14_2.png) [@rszoeke](https://www.simscale.com/forum/u/rszoeke)\
**Post date:** [February 19, 2019, 9:46pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/16 "2019-02-19T21:46:44Z")

</div>

So I got finally at least a result - but I had to disable the validity checks and ignore the error regarding a singular matrix (by disabling the setting “Stop if singular”). The displacement looks like this:

 ![scaled_displacement](https://www.simscale.com/forum/uploads/default/original/3X/f/3/f3c1bfe9e9e4efdf02eccf92726f85ce49afb54d.png)

So you can see where the contact is missing.

You can check out ma copy of your project here: [wheelchair frame by rszoeke | SimScale](https://www.simscale.com/projects/rszoeke/wheelchair_frame_1/)

Best,  
Richard

---

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 19, 2019, 9:49pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/17 "2019-02-19T21:49:00Z")

</div>

> [@rszoeke](#):
>
> ich ex

Hey Richard, I’ll try your settings as well. It looks like there was a missing contact point between the main rod and the cylindrical fitting that goes in it? I’ll take another stab at it, will keep you updated. Thank you so much in advance, this means a lot!

Andy

---

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 19, 2019, 10:02pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/18 "2019-02-19T22:02:55Z")

</div>

Hi Richard, just another question. How can I view the von Mises stress across the model? I don’t see a solution field except for the auto-generated displacement.

Best,  
Andy

---

<div class="post-metadata">

**Author:** ![rszoeke](https://www.simscale.com/forum/user_avatar/www.simscale.com/rszoeke/32/14_2.png) [@rszoeke](https://www.simscale.com/forum/u/rszoeke)\
**Post date:** [February 19, 2019, 10:21pm UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/19 "2019-02-19T22:21:59Z")

</div>

You can select the fields in the “SCL” (meaning “scalar”) fields tab:

 ![vonMises](https://www.simscale.com/forum/uploads/default/original/3X/e/f/efbcb1dfcc29e27f03d95a86e778763389590963.png)

Best,  
Richard

---

<div class="post-metadata">

**Author:** ![andycai](https://www.simscale.com/forum/letter_avatar/andycai/32/5_5575768a8748004e209b776fc1b2916d.png) [@andycai](https://www.simscale.com/forum/u/andycai)\
**Post date:** [February 20, 2019, 4:59am UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/20 "2019-02-20T04:59:17Z")

</div>

Hi Richard, I have a separate issue now. On paper, we would not expect any of the parts to fail, but the simulation indicates that there are several regions that are at least 3 orders of magnitude higher than the yield strength (300000MPa \>\> 300MPa). Is there a reason for this?

Best  
Andy

---

<div class="post-metadata">

**Author:** ![jousefm](https://www.simscale.com/forum/user_avatar/www.simscale.com/jousefm/32/34908_2.png) [@jousefm](https://www.simscale.com/forum/u/jousefm)\
**Post date:** [February 20, 2019, 8:19am UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/21 "2019-02-20T08:19:43Z")

</div>

Hi Andy,

have you looked that you’re consistent with the units? Also note that one contact is still missing.

Best,

Jousef

---

<div class="post-metadata">

**Author:** ![rszoeke](https://www.simscale.com/forum/user_avatar/www.simscale.com/rszoeke/32/14_2.png) [@rszoeke](https://www.simscale.com/forum/u/rszoeke)\
**Post date:** [February 20, 2019, 8:24am UTC](https://www.simscale.com/forum/t/an-error-occurred/84407/22 "2019-02-20T08:24:37Z")

</div>

I think your model is still not fully set up correctly wrt the contacts as @jousefm mentioned.

There is for example a beam which is not connected at all to the rest of the structure:

 ![unconnected](https://www.simscale.com/forum/uploads/default/original/3X/2/9/2991196b0a9d3cfca1a16e17cdde09c6fe979a35.png)

Also the quality criteria of the simulation are currently very low, I would not use these results to draw any conclusions regarding the actual stresses and deformations - there is still a lot to do.  
The setup was mainly chosen so you can visually inspect the result to check for unconnected or badly connected parts.

Once all your contacts are correctly set, try to tighten again the convergence and quality criteria to the default values. Then as a final step, use a 2nd order mesh, since a 1st order mesh will underestimate the stresses in your model due to shear locking as you have relatively thin structures and only a single element through the thickness with non-ideal element quality.

Still then, you will probably have certain small regions where your stresses are unphysically high due to stress singularities.  
Best,  
Richard.
