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

Discretization Error vs Residual Error?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2012, 23:09
Default Discretization Error vs Residual Error?
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 17
dancfd is on a distinguished road
Hello all,

I just ran a sensitivity study on my case to see if I could improve my accuracy by using SFCD (2nd order scheme for convection terms) vs linearUpwind (1st order accurate). All else being equal, the SFCD case had a p-residual of 5e-1 and the linearUpwind case had a p-residual of 10e-3. I expected better accuracy from the 2nd order accurate case, but the residuals appear to show that was not the case. I am running simpleFoam on a 2D airfoil. Could anyone please suggest why the residual is higher for the 2nd order scheme?

More strange behaviour: the SFCD took LESS time to execute the case, and resulted in values of Cd and Cm that were farther from the experimental data than the upwind scheme. I expected different. Can anyone explain this?

Thanks,

Dan
dancfd is offline   Reply With Quote

Old   March 21, 2012, 03:49
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
I always thought linearUpwind is 2nd order upwind. Is plain "upwind" what you were intending to compare to?
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   March 26, 2012, 21:05
Default
  #3
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 17
dancfd is on a distinguished road
Hello Anton,

Thanks for finding my error, I appreciate it.

Regards,
Dan
dancfd 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
problem with Min/max rho tH3f0rC3 OpenFOAM 8 July 31, 2019 10:48
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 10:20
lift and drag on ship superstructures vaina74 OpenFOAM Running, Solving & CFD 3 June 8, 2010 13:30
Unknown error sivakumar OpenFOAM Pre-Processing 9 September 9, 2008 13:53
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


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