CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Divergence detected in Valve simulation (https://www.cfd-online.com/Forums/star-ccm/66724-divergence-detected-valve-simulation.html)

mehn July 22, 2009 13:13

Divergence detected in Valve simulation
 
Dear friends,
I am doing valve simulation, wherein the flow Bcs are stagnation pressure at inlet and pressure at outlet. I want to calculate mass flow rate by this simulation. The problem is ,as soon as I start the simultaion in starccm, the flow diverges within 10 iterations.:confused::confused: The mass flow rate value at outlet shoots very high (in terms of thousands, which is not possible). What may be the reason?. I also tried to change Inlet BC as velocity. But the results are same. I am using compressible state. (Ideal gas). My intention is to find the mass flow at inlet and outlet by specifying pressure drop. The state of the flow is steady.

bernarde July 23, 2009 02:25

Hi

The problem might be related to your mesh. One thing to try is to create threshold plots for different variables (pressure, temperature) to see if there are certain cells where the values are exploding. You might have a couple of bad quality cells in your mesh.

Regards

vishyaroon July 23, 2009 08:13

Have you tried using the Mass Flow Split outlet BC instead of the pressure BC at the outlet?

I'm not certain, but my guess is that by specifying the Stagnation BC at Inlet and Pressure at Outlet you are specifying the pressures at both the inlet and outlet and you may be over-specifying the system.

mehn July 23, 2009 08:28

Dear friends,


I got the solution.


Thank you.

bernarde July 23, 2009 08:32

What was the problem?

mehn July 23, 2009 08:38

Well, I was not getting the converged solution. The solver diverged within 10 iterations. I initialized with 2 bar (as suggested by support engineers). May be, its easy to relieve gradient, but it is very difficult for solver to create pressure gradient.
I took 2 bar as initial pressure and pressure inlet 2 bar and pressure outlet 1 bar.


All times are GMT -4. The time now is 12:02.