|
[Sponsors] |
June 28, 2017, 06:41 |
Linear Advection
|
#1 |
New Member
Navendu Shekhar
Join Date: Jun 2017
Posts: 6
Rep Power: 8 |
I am trying to verify whether a scheme(for solving linear advection equation) is of third order or not. When I give the initial condition of a square pulse(1 in some part of domain and 0 elsewhere), I get order of roughly 1 and when i use Gaussian, I get an order of 4.
Does, the scheme's order depend on the initial condition provided? To calculate the order, I am using L1 norm. |
|
June 28, 2017, 08:45 |
|
#2 |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 |
Most limited advection schemes necessarily drop to first order in the neighborhood of discontinuities. You will need to give us more details on your interpolation and limiting schemes for use to give you more definitive advice.
|
|
June 28, 2017, 09:21 |
|
#3 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
Accuracy can be evaluated out from the singular point. Have a look to the book of Leveque where this issue is discussed. |
||
June 28, 2017, 09:36 |
|
#4 |
New Member
Navendu Shekhar
Join Date: Jun 2017
Posts: 6
Rep Power: 8 |
This scheme has three level stencil. The update equation is given as
u(i,2t) = c1 * u(i,t) + c2 * u(i-1,t) + c3 * u(i,0) + c4 * u(i-1,0) + c5 * u(i-2,0) where u(a,b) represents the value at grid point a at time b and c1,c2,... are some weights(fixed, depends on courant number). Right now, I am not using any limiter. The paper says it is third order scheme, which is what I am trying to verify. |
|
June 28, 2017, 11:02 |
|
#5 |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 |
I'm assuming that you have a few typos in your equation and that you are using a five-point stencil finite difference method. Are the coefficients computed based on some nonlinear functions of the u() values? If so, that has the elements of a (C)WENO scheme or similar nonlinear differencing scheme. Maybe you can just give us the reference to the paper providing the scheme.
|
|
June 28, 2017, 11:26 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
Given such type of scheme (I haven't checked if it is correct or not), you can very easily determine analytically the accuracy order, just use the Taylor expansion for spatial and temporal nodes and determine this way the local truncation error. |
||
June 28, 2017, 13:03 |
|
#7 |
New Member
Navendu Shekhar
Join Date: Jun 2017
Posts: 6
Rep Power: 8 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2nd Order Convergence Problem for 3D Airfoil | turkmengokce | OpenFOAM Running, Solving & CFD | 1 | September 10, 2015 07:20 |
A turbulent test case for rhoCentralFoam | immortality | OpenFOAM Running, Solving & CFD | 13 | April 20, 2014 06:32 |
suitable boundary condition for scavenging process? | immortality | OpenFOAM Running, Solving & CFD | 3 | January 25, 2013 19:10 |
how to modify fvScheme to converge? | immortality | OpenFOAM Running, Solving & CFD | 15 | January 16, 2013 13:06 |
solution diverges when linear upwind interpolation scheme is used | subash | OpenFOAM | 0 | May 29, 2010 01:23 |