CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

How can I improve my residuals

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ggulgulia

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2013, 08:24
Default How can I improve my residuals
  #1
New Member
 
Torbjørn Stensrud
Join Date: Mar 2013
Posts: 6
Rep Power: 13
tstensrud is on a distinguished road
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.
tstensrud is offline   Reply With Quote

Old   April 11, 2013, 12:19
Default
  #2
New Member
 
Kyle McVay
Join Date: Apr 2013
Posts: 8
Rep Power: 13
KyleA&M is on a distinguished road
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.
KyleA&M is offline   Reply With Quote

Old   April 11, 2013, 12:30
Default
  #3
New Member
 
Torbjørn Stensrud
Join Date: Mar 2013
Posts: 6
Rep Power: 13
tstensrud is on a distinguished road
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.
tstensrud is offline   Reply With Quote

Old   April 11, 2013, 14:10
Default
  #4
New Member
 
Kyle McVay
Join Date: Apr 2013
Posts: 8
Rep Power: 13
KyleA&M is on a distinguished road
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 is offline   Reply With Quote

Old   April 11, 2013, 14:50
Default
  #5
New Member
 
Kyle McVay
Join Date: Apr 2013
Posts: 8
Rep Power: 13
KyleA&M is on a distinguished road
Also if its turbulent try running implicit unsteady instead of steady.
KyleA&M is offline   Reply With Quote

Old   April 29, 2013, 08:39
Default
  #6
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 436
Rep Power: 17
cwl is on a distinguished road
Describe the mesh, please. From what i see - i would suppose this as a result of coarse mesh.
cwl is offline   Reply With Quote

Old   April 29, 2013, 09:55
Default
  #7
New Member
 
Torbjørn Stensrud
Join Date: Mar 2013
Posts: 6
Rep Power: 13
tstensrud is on a distinguished road
It worked out fine when I changed from turbulent to laminar model, so everything is all right now. Thanks.
tstensrud is offline   Reply With Quote

Old   May 8, 2013, 09:20
Default
  #8
Senior Member
 
siara817's Avatar
 
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 220
Rep Power: 17
siara817 is on a distinguished road
Hi
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.
__________________
Good luck
Siamak
siara817 is offline   Reply With Quote

Old   May 8, 2013, 11:03
Default
  #9
Senior Member
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 18
rwryne is on a distinguished road
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.
rwryne is offline   Reply With Quote

Old   May 14, 2013, 22:34
Default
  #10
Senior Member
 
Gajendra Gulgulia
Join Date: Apr 2013
Location: Munich
Posts: 144
Rep Power: 13
ggulgulia is on a distinguished road
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.
mazhar16823 likes this.
ggulgulia is offline   Reply With Quote

Old   September 1, 2020, 08:35
Default
  #11
Senior Member
 
MA
Join Date: Mar 2020
Posts: 163
Rep Power: 6
mazhar16823 is on a distinguished road
Quote:
Originally Posted by ggulgulia View Post
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.



I would agree with your first statement. However, as you said that segregated flow solver could resolve these fluctuations - I don't think it helps. Since, I am simulating the flow around a wind turbine blade to predict the location of transition using segregated flow but residuals have such fluctuations even they drop down to 1E-3 and 1E-4 whereas other monitoring parameters such as drag and moment coefficients become steady so I think there is no point to only rely on "making these residuals smooth".
mazhar16823 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorials] Tutorial of how to plot residuals ! wolle1982 OpenFOAM Community Contributions 171 February 20, 2024 02:55
motorBike Residuals for SST k-omega... and mine JR22 OpenFOAM Running, Solving & CFD 6 August 1, 2013 09:08
what to monitor besides residuals? franzdrs FLUENT 5 March 21, 2013 03:59
judging convergence through residuals MachZero Main CFD Forum 7 December 25, 2012 12:18
Convergence - scaled vs unscaled residuals HS FLUENT 1 November 7, 2005 05:45


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