# Simulation convergence problem

**URL:** <https://www.simscale.com/forum/t/simulation-convergence-problem/84494>\
**Category:** Project Support\
**Created:** [February 25, 2019, 4:40pm UTC](https://www.simscale.com/forum/t/simulation-convergence-problem/84494 "2019-02-25T16:40:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anirudh2821998](https://www.simscale.com/forum/user_avatar/www.simscale.com/anirudh2821998/32/23055_2.png) [@anirudh2821998](https://www.simscale.com/forum/u/anirudh2821998)\
**Post date:** [February 25, 2019, 4:40pm UTC](https://www.simscale.com/forum/t/simulation-convergence-problem/84494/1 "2019-02-25T16:40:42Z")

</div>

I am currently working on an engine port flow simulation problem but am facing some issues in convergence of my results. I am not able to understand the reason of sudden jumps in the residual values. i would be highly obliged if someone can help me with this problem.  
I am also attaching the link to my project-  
[https://www.simscale.com/projects/anirudh2821998/engine\_port\_flow\_simulation/](https://www.simscale.com/projects/anirudh2821998/engine_port_flow_simulation/)

 ![Capture](https://www.simscale.com/forum/uploads/default/original/3X/d/e/de5500c61dec4ae3688b2bd3a5fdb974b4f2c549.png) ![Capture2](https://www.simscale.com/forum/uploads/default/original/3X/a/7/a7141e3a8eb2f05aaf52829656443e7ec82d5d28.png) ![Capture3](https://www.simscale.com/forum/uploads/default/original/3X/a/0/a0599f9bfedc8262652c266d885f2b2f5e1d9484.png) ![Capture4](https://www.simscale.com/forum/uploads/default/original/3X/a/7/a708064b0199fc7fb2dda69a697890f15ed78ce9.png) ![Capture5](https://www.simscale.com/forum/uploads/default/original/3X/c/2/c23fbb3ea3388babc8b6e5e212cd96182600e0e5.png) ![Capture6](https://www.simscale.com/forum/uploads/default/original/3X/c/d/cd3e9fd741612eea623a6a21d6930a7012da3dc7.png)

---

<div class="post-metadata">

**Author:** ![Get\_Barried](https://www.simscale.com/forum/user_avatar/www.simscale.com/get_barried/32/20599_2.png) [@Get\_Barried](https://www.simscale.com/forum/u/Get_Barried)\
**Post date:** [February 26, 2019, 1:01am UTC](https://www.simscale.com/forum/t/simulation-convergence-problem/84494/3 "2019-02-26T01:01:20Z")

</div>

Hi @anirudh2821998,

Compressible simulations tend to be very sensitive to mesh quality. Try adjusting the numerics and using first order schemes with a high degree of numerical dampening.

Specifically change the gradient to cell limited gauss linear and see if that helps convergence.

You also might want to post-process your simulation to see where the regions of numerical anomalies lie so that we can see whether they are able to be tackled or not.

Cheers.

Regards,  
Barry

---

<div class="post-metadata">

**Author:** ![rajan19us](https://www.simscale.com/forum/letter_avatar/rajan19us/32/6_449c533f586939b6e5f246632a46421f.png) [@rajan19us](https://www.simscale.com/forum/u/rajan19us)\
**Post date:** [February 27, 2019, 8:02am UTC](https://www.simscale.com/forum/t/simulation-convergence-problem/84494/5 "2019-02-27T08:02:36Z")

</div>

Hi,  
I would like to add 2 more points.

1. Please try to eliminate the tiny faces in the geometry and simplify it a bit. They can be problematic for meshing.  

2. If possible, try using Velocity Inlet / P\_outlet combination.

Regards,  
Rajan

---

<div class="post-metadata">

**Author:** ![anirudh2821998](https://www.simscale.com/forum/user_avatar/www.simscale.com/anirudh2821998/32/23055_2.png) [@anirudh2821998](https://www.simscale.com/forum/u/anirudh2821998)\
**Post date:** [February 27, 2019, 4:45pm UTC](https://www.simscale.com/forum/t/simulation-convergence-problem/84494/6 "2019-02-27T16:45:31Z")

</div>

Hi, i tried to simulate with better mesh quality and I am attaching the convergence report below. If I am not wrong, then, It seems that the solution has converged as all the residuals has come under 1e-3.

 ![NEW%20IMG](https://www.simscale.com/forum/uploads/default/original/3X/5/4/549dbc21e7eff3e424deba68a85df48af81b1684.png)

@rajan19us I cannot use the velocity inlet boundary condition as I don’t have any data regarding the air velocity in the inlet port at 90KPa vacuum condition. Thus, the best idea in this situation was to first simulate with pressure inlet/pressure outlet condition and get a rough idea of the velocity in the intake port and then I can further use that information to complete a new simulation with inlet vel/outlet pressure boundary condition.

---

<div class="post-metadata">

**Author:** ![rajan19us](https://www.simscale.com/forum/letter_avatar/rajan19us/32/6_449c533f586939b6e5f246632a46421f.png) [@rajan19us](https://www.simscale.com/forum/u/rajan19us)\
**Post date:** [March 13, 2019, 2:16pm UTC](https://www.simscale.com/forum/t/simulation-convergence-problem/84494/7 "2019-03-13T14:16:03Z")

</div>

Hi Anirudh,  
I am afraid that the simulation is not converged. yet Are you expecting max. velocity of 110 m/s?  
Also, have you verified your boundary conditions? at inlet atmospheric pressure and at outlet 0.9 bar. What are you trying to achieve here?

This link could help you: [OpenFOAM: User Guide: Common Combinations](https://www.openfoam.com/documentation/guides/latest/doc/guide-bcs-common-combinations.html)

Regards,  
Rajan

---

<div class="post-metadata">

**Author:** ![anirudh2821998](https://www.simscale.com/forum/user_avatar/www.simscale.com/anirudh2821998/32/23055_2.png) [@anirudh2821998](https://www.simscale.com/forum/u/anirudh2821998)\
**Post date:** [March 13, 2019, 2:46pm UTC](https://www.simscale.com/forum/t/simulation-convergence-problem/84494/8 "2019-03-13T14:46:54Z")

</div>

Hi @rajan19us

Yes the intake air can easily achieve a velocity above 120m/s in the valve proximity area and I will give you a proof of this within a minute(or may be within 5mins 😆) This simulation tries to study how efficient your engine port design is? The engine flow bench is used for analysing the engine port(may be intake or the exhaust) in which a vacuum pump attached at the end of the cylinder sucks the air through the port with intake valve at a specific lift. So in order to replicate the flow bench I have given inlet pressure of 101KPa and 90KPa on the outlet face. which means that the air will now flow through the cylinder due to a pressure gradient(replicating the vacuum pump). At different valve lift you will get different outlet mass flow rate and you can compare how your air behave at different lift. I am attaching a video of air flow bench, which may help you in better understanding of my objectives.  
And if I talk about convergence, then my Ux, Uy and Uz residuals have already reached 1e-3(which is sufficient for most of the simulation) and my omega residual value is about to reach 1e-5.

Link- [Differential Flow Field Analysis in Engine Development (AVL Tippelmann + LaVision) - YouTube](https://www.youtube.com/watch?v=Yu8lGsB1zB0&amp;feature=youtu.be)

Thanks  
Ani

---

<div class="post-metadata">

**Author:** ![anirudh2821998](https://www.simscale.com/forum/user_avatar/www.simscale.com/anirudh2821998/32/23055_2.png) [@anirudh2821998](https://www.simscale.com/forum/u/anirudh2821998)\
**Post date:** [March 13, 2019, 3:10pm UTC](https://www.simscale.com/forum/t/simulation-convergence-problem/84494/9 "2019-03-13T15:10:51Z")

</div>

Hello sir, you can have a look at this Intake air mach number calculator- [Inlet Valve Mach Index Calculator](https://www.rbracing-rsr.com/machcalc.html)

---

<div class="post-metadata">

**Author:** ![anirudh2821998](https://www.simscale.com/forum/user_avatar/www.simscale.com/anirudh2821998/32/23055_2.png) [@anirudh2821998](https://www.simscale.com/forum/u/anirudh2821998)\
**Post date:** [March 13, 2019, 4:27pm UTC](https://www.simscale.com/forum/t/simulation-convergence-problem/84494/10 "2019-03-13T16:27:30Z")

</div>

> ![mach%20number](https://www.simscale.com/forum/uploads/default/original/3X/7/a/7a4c7a1ef20c8ae3725bb4684cd02a1c3b06a94b.png)

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