CFD Online Discussion Forums

CFD Online Discussion Forums (
-   STAR-CCM+ (
-   -   How can I improve my residuals (

tstensrud April 11, 2013 08:24

How can I improve my residuals
I'm very new to CFD and Star-CCM+ and I'm not sure how to improve my residuals. The image below shows my simulation after 2000 iterations.

I would very much like to improve on my energy and continuity. What causes the residuals to barely drop below 0.01?

I have tried to lower the under-relaxation factors and create lower base size on my mesh, but no help so far.

KyleA&M April 11, 2013 12:19

The convergence criteria differs between simulations, although .01 is rather large. I would run reports to check mass flow at inlet and outlet and compare, also do you have reversed flow at the outlet? Additionally maybe your physics model or volume meshing model isn't optimal for the simulations that you're doing.

tstensrud April 11, 2013 12:30

There are no massflow inlet or outlets. The velocities are purely because of natural convection. I'm using a polyhedral meshing model with a 2-layer prism layer.

KyleA&M April 11, 2013 14:10

Your meshing model should be fine. Maybe check if the flow is turbulent or laminar. If you run a turbulent model as a laminar model then it won't converge; I'm not sure if laminar flow under turbulent model would converge or not although I feel like it would.

KyleA&M April 11, 2013 14:50

Also if its turbulent try running implicit unsteady instead of steady.

cwl April 29, 2013 08:39

Describe the mesh, please. From what i see - i would suppose this as a result of coarse mesh.

tstensrud April 29, 2013 09:55

It worked out fine when I changed from turbulent to laminar model, so everything is all right now. Thanks.

siara817 May 8, 2013 09:20

No one can say that the results of the simulation are wrong because of high residuals. As Kylea&M told, you need to check mass conservation or energy conservation.
If you are simulating air movements in the room caused by a heat source, the pattern is substantially turbulent and simulating by laminar give wrong results.

rwryne May 8, 2013 11:03

With natural convection problems, I believe it is best to switch to a bouyancy driven "two-layer type" when using the k-epsilon turb. model.

This is under Continua->Physics->Models->Realizable K-Epsilon Two Layer

disregard if you are using k-omega.

ggulgulia May 14, 2013 22:34

The residuals fluctuate sometimes for the reason that the flow is an unsteady and we try to run it as a steady state problem. Take for example pressure at outlet may not be atmospheric but we usually give pressure outlet boundary condition that forces the simulation to run likewise.

Similarly the energy model can lead to such fluctuations. If the problem is independent of the change in density or 'incompressible' then a segregated flow model should be well able to solve the problem.

A compressible flow otherwise treated as an incompressible will again lead to fluctuation of residuals.

So in short we need to familiarize ourselves with the problem very well and apply the proper flow physics before solving the problem.

I would like to add that a residual that oscillates about some mean position may not necessarily yield a wrong solution. :)

All times are GMT -4. The time now is 04:31.