CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

Is such Residual acceptable?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 2, 2007, 10:03
Default Is such Residual acceptable?
  #1
Boon Ping , Oh
Guest
 
Posts: n/a
I'm currently doing two simulations. One of the Residual diverges in the beginning for around 100 iterations. Though it converges eventually till 0.001. Is it fine and acceptable? Another one diverges abit in the beginning and have zick zacks when the residual stays 0.001. I've checked the Cell Quality, whether I#m using the right Condition, checked the Wall Y+ and it's all fine. Are both the Simulations not acceptable? Are those Simulations, which Residuals have zick zacks of diverge few times but eventually converge acceptable?
  Reply With Quote

Old   February 2, 2007, 11:32
Default Re: Is such Residual acceptable?
  #2
Anon
Guest
 
Posts: n/a
Is this your own code or a commercial one? You really need to tell people on here how the residual is defined before we can comment on the convergence.

Have you tried getting the solution on a finer mesh? Is that solution the same as the one on the coarse mesh?
  Reply With Quote

Old   February 2, 2007, 23:17
Default Re: Is such Residual acceptable?
  #3
George
Guest
 
Posts: n/a
If it is your code, try to use double precision variables. The difference in the residuals is great. I had a similar problem in 2D and I was using single precision. The normalised residuals didn't get lower values than 0.001. With double precision the residuals reached 1.E-8 and in fewer iterations.
  Reply With Quote

Old   February 3, 2007, 06:45
Default Re: Is such Residual acceptable?
  #4
vm
Guest
 
Posts: n/a
I also confirm the role of double precision, but what about that when in one radial direction the residuals are 100x higher (cylindrical coordinates)?
  Reply With Quote

Old   February 3, 2007, 10:38
Default Re: Is such Residual acceptable?
  #5
George
Guest
 
Posts: n/a
Is it in the radial direction, when you start calculating with your solver the variables? Because of the periodicity same errors occur at angle=0 and angle=2*PI, where these points are actually identical. These errors affect the "neighborhood" and sometimes huge residuals occur. 100x higher though is too large....
  Reply With Quote

Old   February 5, 2007, 03:21
Default Re: Is such Residual acceptable?
  #6
Boon Ping , Oh
Guest
 
Posts: n/a
I am basically using "Star ccm+", so actuallz I've no idea what "code" do you all mean. So I guess it's a commercial one. My mesh quality is between 0.1 to 1, which should be fine cause it's being said that when the meshes are consider bad when the quality is lower than 0.001.
  Reply With Quote

Old   February 5, 2007, 04:23
Default Re: Is such Residual acceptable?
  #7
Boon Ping , Oh
Guest
 
Posts: n/a
Well, if anyone knows about Star ccm+ , feel free to tell me how could I determine what kind of condition I have to choose or what value I could change. From what I see, cmu, c2e, under relaxation factor , turbulent viscosity ratio, turbulence intensity and such stuffs are pretty much what i could varify.
  Reply With Quote

Old   February 5, 2007, 04:52
Default Re: Is such Residual acceptable?
  #8
Boon Ping , Oh
Guest
 
Posts: n/a
First of all, the pipe I've been simulating is 10cm diameter, 1,6meter length, normal straight pipe, K-epsilon 2layer, standard turbulent intensity and viscosity ratio. My Wall Y+ is between 12-28. Cell Quality 0.1-1. Inlet velocity 0.3m/s. Did i miss out something? It just oscilates when after it converges. Why?
  Reply With Quote

Old   February 5, 2007, 04:54
Default Re: Is such Residual acceptable?
  #9
Boon Ping , Oh
Guest
 
Posts: n/a
By the way, it's water, and steady in time, stable condition.
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 7 April 16, 2014 03:38
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM 6 April 12, 2011 11:24
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16


All times are GMT -4. The time now is 01:21.