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

How much of the continuity error is acceptable for DNS?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By haakon
  • 1 Post By haakon

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 21, 2013, 20:21
Default How much of the continuity error is acceptable for DNS?
  #1
Member
 
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 14
ripperjack is on a distinguished road
Hi all,

I am simulating DNS channel flows based on the buoyantBuosinesqPimpleFoam. I found that if I set the the p tolerance=1e-6 in system/fvSolution, the calculation is very slow and the problem is that the iteration No. for p is very large (more than 200 iterations!), which can be seen as follow. My time step is 0.001.
I want to speed up the simulation. One possible way is to decrease the p tolerance to 1e-5. But I want to know, if I do this, how can I ensure the continuity? I have no idea what time step continuity errors means, I check the source codes and it seems that this error also include time step value and there are sum local, global, and cumulative errors, which one is more important?? Anyway, my question is: how much of the continuity error is acceptable for a DNS simulation? Many thanks, guys!
Code:
Courant Number mean: 0.288069 max: 0.61355
DILUPBiCG:  Solving for Ux, Initial residual = 0.00630291, Final residual = 1.07118e-07, No Iterations 3
DILUPBiCG:  Solving for Uy, Initial residual = 0.0432376, Final residual = 6.85184e-07, No Iterations 3
DILUPBiCG:  Solving for Uz, Initial residual = 0.0399243, Final residual = 6.44705e-07, No Iterations 3
DILUPBiCG:  Solving for rho, Initial residual = 0.0135317, Final residual = 2.42912e-07, No Iterations 3
DICPCG:  Solving for p_rgh, Initial residual = 0.791976, Final residual = 4.79033e-05, No Iterations 79
time step continuity errors : sum local = 2.55569e-08, global = 5.12662e-20, cumulative = 1.1254e-19
DICPCG:  Solving for p_rgh, Initial residual = 0.0616171, Final residual = 9.11894e-07, No Iterations 219
time step continuity errors : sum local = 3.40954e-10, global = 5.92299e-20, cumulative = 1.7177e-19
ripperjack is offline   Reply With Quote

 


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
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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