|
[Sponsors] |
Odd-Even Decoupling on 1D 7 pt. Stencil Finite Differences? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 4, 2018, 03:37 |
Odd-Even Decoupling on 1D 7 pt. Stencil Finite Differences?
|
#1 |
New Member
Ali Berk Kahraman
Join Date: Dec 2015
Location: Braunschweig, Germany
Posts: 14
Rep Power: 10 |
Dear All,
I am writing my code from scratch for incompressible Navier-Stokes. I will use 7 pt. stencil Finite Differences on a given direction, so a total 13 pt stencil on 2D. What are your ideas on odd-even decoupling? My guess is that since odd and even nodes are able to communicate with each other because the only zero entry will be the center node for which I have to calculate the first derivative. However, I cannot be sure. Any insights or advices? Best Regards, Ali |
|
March 4, 2018, 07:15 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
|
||
March 4, 2018, 08:10 |
|
#3 | |
New Member
Ali Berk Kahraman
Join Date: Dec 2015
Location: Braunschweig, Germany
Posts: 14
Rep Power: 10 |
Quote:
My thinking is that div dot grad product is mathematically Laplace operator. So, I thought of using 7 pt. stencil on the Laplace operator. This brings another question for which I have not looked up the answer, why bother with div dot grad when it is simply Laplacian? |
||
March 4, 2018, 08:18 |
|
#4 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Matemathically the product corresponds to the Laplacian. However, numericall there are several well known issues that drive to an Approximate or an Exact projection method.
Consider that you have to compute the gradient of the pressure to ensure the continuity constraint. I suggest to see by hand in 1D the differences if you discretize the div grad and the Lap operators. You can find many references in the CFD literature |
|
March 4, 2018, 08:33 |
|
#5 | |
New Member
Ali Berk Kahraman
Join Date: Dec 2015
Location: Braunschweig, Germany
Posts: 14
Rep Power: 10 |
Quote:
|
||
March 4, 2018, 08:44 |
|
#6 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
It happens for some type of discretizations on non-staggered grids. A classical example is the second order discretization. Other examples can be found in the literature. I never used a 7-point stencil for the gradient operator so you have to develop the scheme. But I immagine that the implementation will be very difficult close to the boundaries..
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
finite differences multilayer diffusion | wilmermantilla | Main CFD Forum | 0 | September 30, 2017 20:18 |
Continuous adjoint VS finite differences | Haowang | SU2 | 0 | March 26, 2017 04:59 |
Lid Driven Cavity - Finite Differences BCs? | aem0512 | Main CFD Forum | 3 | May 1, 2016 23:50 |
conservative finite differences and finite volumes | Joachim | Main CFD Forum | 7 | January 23, 2014 17:32 |
Finite differences | Zdravko Stojanovic | Main CFD Forum | 8 | March 24, 2001 23:31 |