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

second order scheme problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2016, 23:43
Question second order scheme problem
  #1
New Member
 
Join Date: Nov 2016
Posts: 2
Rep Power: 0
hadiso is on a distinguished road
Hi every one,
I'm solving a shock tube problem using a Roe scheme (structured grids) which works fine on first order accuracy. I want to improve the solution to higher order starting from second order.
I simply extrapolate the solution from the cell centers to faces using the gradients:

Uface=Ucenter+Grad_U*r

where r is the distance between the face and center. using this second order Taylor series I manage to improve the solution in the expansion region but the shock capturing is exactly the same as the first order solution. I use a MidMode slope limiter for the second order solution. I can's see where the problem is.
any experiences?
hadiso is offline   Reply With Quote

Old   November 2, 2016, 03:48
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by hadiso View Post
Hi every one,
I'm solving a shock tube problem using a Roe scheme (structured grids) which works fine on first order accuracy. I want to improve the solution to higher order starting from second order.
I simply extrapolate the solution from the cell centers to faces using the gradients:

Uface=Ucenter+Grad_U*r

where r is the distance between the face and center. using this second order Taylor series I manage to improve the solution in the expansion region but the shock capturing is exactly the same as the first order solution. I use a MidMode slope limiter for the second order solution. I can's see where the problem is.
any experiences?

1) to see the quantitative difference from first and second order methods you need to do a study on the convergence slope on a smooth solution
2) A limiter reduces to first order the scheme near the shock.

I suggest to check first a difference test to see if for a regular solution your second order code is correct.
FMDenaro is offline   Reply With Quote

Old   November 2, 2016, 09:34
Default
  #3
New Member
 
Join Date: Nov 2016
Posts: 2
Rep Power: 0
hadiso is on a distinguished road
Thanks a lot Filippo,
Testing on a smooth solution is a good idea.
I quite agree that the limiter returns the solution to the first order near the shock but I can't see even a small improvement.
A second order scheme should capture a sharper shock.
hadiso is offline   Reply With Quote

Old   November 2, 2016, 10:46
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
First, check the convergence for a smooth solution to assess that you coded correctly the second order scheme.
Then, check the number of cells involved by the shock and check if refining the grid the shock layer width is reduced on the same number of cells.
FMDenaro is offline   Reply With Quote

Reply

Tags
limiter, roe scheme, second order accuracy, shock-tube


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
Differencing Scheme for Advection Problem Simon Smokes Main CFD Forum 2 April 8, 2015 11:59
Implementation of 2nd order upwind scheme jaason OpenFOAM Running, Solving & CFD 4 February 6, 2015 18:40
higher order discretisation scheme Simon Smokes Main CFD Forum 2 August 23, 2014 08:19
2nd order upwind vs 2nd order upwind!!! Far Main CFD Forum 7 March 14, 2013 13:29
Discretisation scheme in CFX-1st or 2nd order? Pete CFX 10 January 12, 2005 13:48


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