CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

what tolerance is sufficient for unsteady compressible flows?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2013, 07:30
Default what tolerance is sufficient for unsteady compressible flows?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
I have set tolerances like this(1e-9):
Code:
U
    {
        solver          smoothSolver;//smoothSolver
        //preconditioner  DIC;
        smoother        DICGaussSeidel;
        nSweeps         1;
        tolerance       1e-9;
        relTol          0;
        maxIter        50000;
    }

    h
    {
        $U;
        //tolerance       1e-10;
        //nSweeps         10;
        //relTol          0;
        //maxIter         25000;
    }
is it sufficient for variables that their residuals to reach 1e-9 generally for unsteady compresible cases?or lower can be acceptable?(because it takes too long for starting the first iteration)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 9, 2013, 14:42
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Ehsan,

After some searching, I found the following threads:
After reading parts of these threads, my conclusion is this:
  1. Depends on your case: the mesh, properties of the flow and so on.
  2. Either you have experimental data for comparison, or you study the effect of changing the tolerance values.
  3. A tolerance value too low can lead to too much computing time iterating, which might lead to no improvement.
  4. A value too high, will lead to a bad solution and possibly it will eventually diverge/crash.
  5. From these threads, "good enough" values could be found scattered around for steady-state cases, but I did not find any indication for unsteady compressible flow.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
MULES advection scheme for compressible flows? pharg_yrartibra OpenFOAM 3 August 9, 2012 21:31
Derivation of the pressure-correction equation for compressible flows luftraudi Main CFD Forum 0 July 17, 2012 06:35
SIMPLE pressure correction in compressible flows Maarten de Jong Main CFD Forum 7 April 30, 2012 02:23
Using pressure based solver for compressible flows aamer Main CFD Forum 2 June 15, 2011 12:45
Using Compressible Solver (sonicFoam) to solve subsonic flows ezsoal OpenFOAM 0 October 27, 2009 09:13


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