Re: understanding convection terms

2016-04-27 Thread Daniel Wheeler
On Tue, Apr 26, 2016 at 10:57 AM, Kris Kuhlman wrote: > Daniel, > > Thank you. I am a bit surprised that the CentralDifference basically matches > the hybrid method, and is more accurate than upwind. Remember that central difference is second order accurate. The

Re: understanding convection terms

2016-04-26 Thread Kris Kuhlman
Daniel, Thank you. I am a bit surprised that the CentralDifference basically matches the hybrid method, and is more accurate than upwind. Kris On Tue, Apr 26, 2016 at 8:22 AM, Daniel Wheeler wrote: > Hi Kris, > > Good to hear from you again and a very nicely coded

Re: understanding convection terms

2016-04-26 Thread Daniel Wheeler
Hi Kris, Good to hear from you again and a very nicely coded example. I think it's a solver issue. I tried the LU solver and it gives perfect results. See https://gist.github.com/wd15/affe4d82cc2a189d894a7d774e4bc00b. This might suggest that we need to change the default solver when using the