# Diverging and simulation run errors

**URL:** <https://www.simscale.com/forum/t/diverging-and-simulation-run-errors/91009>\
**Category:** Project Support\
**Created:** [December 17, 2020, 6:07pm UTC](https://www.simscale.com/forum/t/diverging-and-simulation-run-errors/91009 "2020-12-17T18:07:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![balvir\_manj](https://www.simscale.com/forum/letter_avatar/balvir_manj/32/6_449c533f586939b6e5f246632a46421f.png) [@balvir\_manj](https://www.simscale.com/forum/u/balvir_manj)\
**Post date:** [December 17, 2020, 6:07pm UTC](https://www.simscale.com/forum/t/diverging-and-simulation-run-errors/91009/1 "2020-12-17T18:07:49Z")

</div>

It is harder and it takes longer to provide support without full details.To speed up the process and quickly solve your issues this is a reminder to post as much information as you possibly can:

[_Deleted by author_]

it is always diverging in some way like  
“The solution diverged, please check your simulation setup. Divergence can also be caused by bad elements in the mesh. Such elements tend to exist near walls and sharp corners. Visually inspect your mesh to locate them and re-mesh with additional refinements in their vicinity. If you are confident about the mesh-quality, please reduce relaxation factors and use more conservative numerical schemes.”  
or  
“Temperature fields diverging”  
when I am running a mach 1.5 wind tunnel with a CADed model. pls look at the project, as I only wanted to make some particle traces.

 ![Screen Shot 2020-12-17 at 9.41.07 AM](https://www.simscale.com/forum/uploads/default/original/3X/4/b/4b4e1ed6882e1d5d58bde3799f2857082156ba9a.png)

Reply ASAP.

---

<div class="post-metadata">

**Author:** ![tsite](https://www.simscale.com/forum/user_avatar/www.simscale.com/tsite/32/47909_2.png) [@tsite](https://www.simscale.com/forum/u/tsite)\
**Post date:** [December 18, 2020, 10:23am UTC](https://www.simscale.com/forum/t/diverging-and-simulation-run-errors/91009/2 "2020-12-18T10:23:27Z")

</div>

Hi, this is Fillia 🙂

There are a few points I would like to mention:

1. The Velocity inlet is \> 800 m/s. This means the Mach number will be much bigger than 1 (Mach = U/c, where c is the speed of sound ~ 343 m/s). In general, the compressible solver handles up to 0.7-0.8 well, but a case with a Mach number close to 3 will probably fail.
2. Have you checked the Reynolds number? I expect the ‘Laminar’ mode will have to be switched to a turbulent model.
3. In contrast with the Incompressible analysis, the pressure outlet here is not Gauge. Try switching the input to 101325 Pa instead of 0 Pa.
4. If the model is symmetric, you can simulate just half of it to reduce computation costs.
5. The Domain is small for this kind of external aerodynamics simulation. Have a look at Figure 5 here: [Aerodynamic Flow Behavior Around a Vehicle Tutorial | SimScale](https://www.simscale.com/docs/tutorials/aerodynamic-simulation-vehicle/). You can use this as a reference.
6. You can always check the mesh quality with this guide: [How to Check and Improve Mesh Quality | SimScale](https://www.simscale.com/knowledge-base/how-to-check-and-improve-mesh-quality/)

Best regards,  
Fillia

---

<div class="post-metadata">

**Author:** ![tsite](https://www.simscale.com/forum/user_avatar/www.simscale.com/tsite/32/47909_2.png) [@tsite](https://www.simscale.com/forum/u/tsite)\
**Post date:** [December 18, 2020, 10:25am UTC](https://www.simscale.com/forum/t/diverging-and-simulation-run-errors/91009/3 "2020-12-18T10:25:09Z")

</div>

By the way, if someone has a compressible case with a big Mach number that was successful, please provide the link, I would love to check it out 🙂

Cheers!

---

<div class="post-metadata">

**Author:** ![balvir\_manj](https://www.simscale.com/forum/letter_avatar/balvir_manj/32/6_449c533f586939b6e5f246632a46421f.png) [@balvir\_manj](https://www.simscale.com/forum/u/balvir_manj)\
**Post date:** [December 18, 2020, 4:59pm UTC](https://www.simscale.com/forum/t/diverging-and-simulation-run-errors/91009/4 "2020-12-18T16:59:24Z")

</div>

Sup, Vir here (Full: Balvir Singh)

As a response to your first point, is there some way where I can simulate high mach speeds or is it impossible to do in Simscale?

Otherwise, I really appreciate the help you have put in here.

Happy CFDing, Balvir.

---

<div class="post-metadata">

**Author:** ![Retsam](https://www.simscale.com/forum/user_avatar/www.simscale.com/retsam/32/22410_2.png) [@Retsam](https://www.simscale.com/forum/u/Retsam)\
**Post date:** [December 19, 2020, 6:59am UTC](https://www.simscale.com/forum/t/diverging-and-simulation-run-errors/91009/5 "2020-12-19T06:59:27Z")

</div>

Hi @balvir_manj,

Please look at that reference in the forum:

> [@How can you do Supersonic Simulations of aircraft?](https://www.simscale.com/forum/t/how-can-you-do-supersonic-simulations-of-aircraft/86990):
>
> Hi Community! I am a high school student that wants to use CFD for a science fair project. I am also an aspiring aerospace engineer but very new to computational fluid dynamics. For my science fair project, I have a few aircraft design ideas that will reduce the angle of a shock wave. I want to use CFD to observe or measure this effect. That being said, do you know how I can use SimScale to model airflow around an aircraft. I’ve played with the system but I am not sure how to do speeds above …

I suggest, as Barry did, that you start to learn CFD with simpler cases.

Take care,

Retsam
