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

Lower Accuracy with Lower Step Size

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 26, 2018, 01:29
Lightbulb Lower Accuracy with Lower Step Size
  #1
New Member
 
Muratcan
Join Date: Jun 2018
Posts: 7
Rep Power: 7
mtaskin is on a distinguished road
Hi,
I have been asked to perform Gauss-Seidel methods(explicit and implicit) and Line Successive Over-relaxation method on a linear 2-D Elliptic Equation. So i wrote a fortran code and now i have to compare my results with exact results in a reference textbook. The problem is the absolute errors are quite high(sometimes 20%).


So i checked my code multiple times but there is no error. Than i realized, my indicated step size was 0.02 ft where the textbook uses 0.05 ft. The funny thing, when i run the code with textbook step size(larger step size) i get perfect match with the result. So i am confused and started looking for an answer. Here is what i did so far;


- I discretized BS(Backward space) rather than CS(central space) but errors are getting larger which is not surprising(first order and all stuff considered)
- I derived modified equation and found out that artificial viscosity is dominating error. But dont you think 20% absolute error is quite high for artificial viscosity alone?
- I thought i did something wrong in modified equation and decided to run my code with double precision, in case round-off error is dominating. The same phenomena happens.
- I theorized that textbook authors made a mistake by publishing unconverged solution but relative error control sequence shows it is converged result(it was a low possibility anyways)
- I know i can produce lower accuracy with lower step sizes for non linear equations but this one is linear so this is not the case, i eliminated this reason pretty quickly.



So i ran out of ideas. I know there are lots of experienced people here. Can you think of any possible reason? Even a little hint would be appreciated. Thank you in advance


Best regards,
mtaskin
mtaskin is offline   Reply With Quote

 

Tags
accuracy, fortran, gauss seidel, step size


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
courant number in vof reza_gharib1369 FLUENT 49 February 26, 2020 16:55
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 16, 2019 23:12
Time Step Size and Number of Iterations per Time Step spl CFX 4 August 13, 2015 11:56
On Setring Step Size in unsteady Solver of FLUENT lzgwhy FLUENT 0 August 19, 2009 22:44
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37


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