# Simple Valve simulation

**URL:** <https://www.simscale.com/forum/t/simple-valve-simulation/92486>\
**Category:** Project Support\
**Created:** [April 21, 2021, 12:31pm UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486 "2021-04-21T12:31:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mde\_pietri](https://www.simscale.com/forum/letter_avatar/mde_pietri/32/6_449c533f586939b6e5f246632a46421f.png) [@mde\_pietri](https://www.simscale.com/forum/u/mde_pietri)\
**Post date:** [April 21, 2021, 12:31pm UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/1 "2021-04-21T12:31:12Z")

</div>

Hello, I am preparing a simulation of an irregular water channel. The geometry is quite simple, with a k-epsilon turbulence model, however even by changing the parameters/mesh size I cannot reach the convergence, by checking the different plots.

> **[SimScale Login](https://www.simscale.com/workbench/?pid=7484408925160444610&mi=spec%3Aa44c88b7-7ad9-43bb-9cf3-9bd96cf8ec41%2Cservice%3ASIMULATION%2Cstrategy%3A2)**
>
> Log in to your SimScale account. SimScale makes high-fidelity engineering simulation technically and economically accessible. At any scale. In the cloud.

Here below is a draft solution (not converged) of the velocity field

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/8/7/87fcee5df99de78f8dbac5432d8709e89efa3e54.png)

and here the convergence graphs:

Residuals:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/9/3/93b8dc091c81edc2655313fe21797d9372fc0ceb.png)

Outlet

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/b/7/b791fc368257ca30e500d9bfc46610cf4fe125a4.png)

Domain:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/3/6/36c1486c8c9b7d062a8dbfaac1167f594c8ab7eb.png)

Any advice on how to improve the results ( sim parameters, mesh refining etc) it would be hugely appreciated. thanks!

---

<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:** [April 21, 2021, 1:07pm UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/2 "2021-04-21T13:07:11Z")

</div>

Hi there, thank you for using the forum!

Checking the Residuals tab should be enough. Try increasing the Level of Fineness to 8 and rerun for 1000 loops( 30000 is actually unnecessary in this case). The convergence plot should look good then

 ![convergence plot](https://www.simscale.com/forum/uploads/default/original/3X/6/6/667a741f0dd39d997f594a34fc4180ed893e98cd.jpeg) 🙂  
Best regards,  
Fillia

---

<div class="post-metadata">

**Author:** ![mde\_pietri](https://www.simscale.com/forum/letter_avatar/mde_pietri/32/6_449c533f586939b6e5f246632a46421f.png) [@mde\_pietri](https://www.simscale.com/forum/u/mde_pietri)\
**Post date:** [April 21, 2021, 2:11pm UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/3 "2021-04-21T14:11:41Z")

</div>

I’ll try, thanks fillia!

---

<div class="post-metadata">

**Author:** ![mde\_pietri](https://www.simscale.com/forum/letter_avatar/mde_pietri/32/6_449c533f586939b6e5f246632a46421f.png) [@mde\_pietri](https://www.simscale.com/forum/u/mde_pietri)\
**Post date:** [April 22, 2021, 9:12am UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/4 "2021-04-22T09:12:33Z")

</div>

Hi Fillia, Raising the number of elements improved the situation for the residuals but the outlet and domain plots are still performing poorly I believe:

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/5/2/52b18884a8d72475f9bd7ca9de2cbb3bc39bc0bd.png)

 ![image](https://www.simscale.com/forum/uploads/default/original/3X/a/e/ae6e1583583867b29007e96de32edd1d19c4d398.png)

I am not sure on what I need to change, any suggestion for this would be great

---

<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:** [April 22, 2021, 9:44am UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/5 "2021-04-22T09:44:16Z")

</div>

No need to check these tabs, you can focus on the _Residuals_ tab only 🙂

> **[How to Check Convergence of a CFD Simulation in SimScale?](https://www.simscale.com/knowledge-base/how-to-check-convergence-of-a-cfd-simulation/)**
>
> CFD simulation is an iterative process, therefore you should always check the convergence of the results before using them.

Best regards,  
Fillia

---

<div class="post-metadata">

**Author:** ![mde\_pietri](https://www.simscale.com/forum/letter_avatar/mde_pietri/32/6_449c533f586939b6e5f246632a46421f.png) [@mde\_pietri](https://www.simscale.com/forum/u/mde_pietri)\
**Post date:** [April 22, 2021, 10:39am UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/6 "2021-04-22T10:39:11Z")

</div>

@tsite I am basing my analysis from exactly this page:

> _Outlets_ convergence plot shows some serious issues. High fluctuations are observed in pressure and velocity values. This is a clear indicator that boundary conditions or the mesh quality might be responsible for numerical issues at the outlets.

---

<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:** [April 23, 2021, 9:40am UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/7 "2021-04-23T09:40:19Z")

</div>

Which run are you referring to? 🙂

---

<div class="post-metadata">

**Author:** ![mde\_pietri](https://www.simscale.com/forum/letter_avatar/mde_pietri/32/6_449c533f586939b6e5f246632a46421f.png) [@mde\_pietri](https://www.simscale.com/forum/u/mde_pietri)\
**Post date:** [April 23, 2021, 10:41am UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/8 "2021-04-23T10:41:11Z")

</div>

Hi @tsite , this is the simulaion:

> **[SimScale Login](https://www.simscale.com/workbench/?pid=7484408925160444610&mi=run%3A26%2Csimulation%3A2&mt=SIMULATION_RUN)**
>
> Log in to your SimScale account. SimScale makes high-fidelity engineering simulation technically and economically accessible. At any scale. In the cloud.

cheers!

---

<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:** [April 26, 2021, 10:21am UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/9 "2021-04-26T10:21:36Z")

</div>

Hi there I hope you had a nice weekend!  
I will assume you refer to the latest run then (baseline\_8\_long). As I mentioned earlier, 1000 loops should be enough for this type of analysis (10000 is an overkill and unnecessary). If you have a steady-state analysis keep running for a longer time than needed, this does not necessarily mean the results will be “better”. Check the outlet’s results after 1000 loops for example:

 ![outlet](https://www.simscale.com/forum/uploads/default/original/3X/3/5/350a8c70d2200491eb03e9f4b1e0d19afc25645a.jpeg)

I am tagging my colleague @RicardoParis in case he has some insights regarding really long steady state analysis runs.

Cheers!

---

<div class="post-metadata">

**Author:** ![mde\_pietri](https://www.simscale.com/forum/letter_avatar/mde_pietri/32/6_449c533f586939b6e5f246632a46421f.png) [@mde\_pietri](https://www.simscale.com/forum/u/mde_pietri)\
**Post date:** [April 27, 2021, 9:52am UTC](https://www.simscale.com/forum/t/simple-valve-simulation/92486/10 "2021-04-27T09:52:20Z")

</div>

Thanks for your advise on this topic. Yeah 1e04 iterations are not necessary for the residuals but, apparently not enough for the convergence of the different variables. My understanding is that, to be confident in the solution, at least in the domain tab, the variables should have a stable trend, which is not what we see in the screenshot I posted.  
Sorry for insisting on this topic, but I am not sure if I am getting this right or not
