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

Linear Advection

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2017, 06:41
Default Linear Advection
  #1
New Member
 
Navendu Shekhar
Join Date: Jun 2017
Posts: 6
Rep Power: 8
navtechdel is on a distinguished road
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.
navtechdel is offline   Reply With Quote

Old   June 28, 2017, 08:45
Default
  #2
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
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.
mprinkey is offline   Reply With Quote

Old   June 28, 2017, 09:21
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by navtechdel View Post
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.
It is theoretically wrong to do an accuracy order study using a non regular function. The local truncation error is expressed by derivatives so that you cannot get the correct term when they go to infinite.
Accuracy can be evaluated out from the singular point. Have a look to the book of Leveque where this issue is discussed.
sbaffini likes this.
FMDenaro is offline   Reply With Quote

Old   June 28, 2017, 09:36
Default
  #4
New Member
 
Navendu Shekhar
Join Date: Jun 2017
Posts: 6
Rep Power: 8
navtechdel is on a distinguished road
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.
navtechdel is offline   Reply With Quote

Old   June 28, 2017, 11:02
Default
  #5
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
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.
mprinkey is offline   Reply With Quote

Old   June 28, 2017, 11:26
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by navtechdel View Post
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.

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.
FMDenaro is offline   Reply With Quote

Old   June 28, 2017, 13:03
Default
  #7
New Member
 
Navendu Shekhar
Join Date: Jun 2017
Posts: 6
Rep Power: 8
navtechdel is on a distinguished road
The link to the paper:

https://www.google.co.in/url?sa=t&rc...FsHwLQ&cad=rja
navtechdel 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
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


All times are GMT -4. The time now is 10:12.