CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   a problem of valve simulation in openfoam (

xck1986 January 20, 2011 08:59

a problem of valve simulation in openfoam
1 Attachment(s)
Dear FoamUsers,
I am now using the compressible Solver rhoSimpleFoam (steady state case) to simulate a valve.
But I always have the problem of the residuals oszillation, especially for the pressure. see the residual figure in attachment.
I have try to modify the relaxtionfactor for every variable, but it still has oszillation.
Is that possible that the problem was linked to my mesh? Because some boundary elements in my mesh is very small.
The whole case foleder can be found under the fokllowing link:
Thanks a lot!

fletc900 January 20, 2011 15:10

Hi there. I've had CFD simulations before (not in OF) in which the residuals would oscillate like yours...that doesn't specifically mean that your simulation has not converged. It depends on how OF is calculating the residuals. Are the residual calculations in OF normalized by the average first N iterations? This is something to investigate...

Have you checked other measures for convergence? Such as mass flow rate in - mass flow rate out? Does this value oscillate too?


aerothermal January 21, 2011 21:08


I agree with fletc900.
what are your results for x,y,z forces or moments?
are they converged?



All times are GMT -4. The time now is 13:51.