|
[Sponsors] |
May 19, 2017, 05:57 |
why div(grad) is not equal to laplacian
|
#1 |
Member
Xinguang Wang
Join Date: Feb 2015
Posts: 45
Rep Power: 11 |
Hi all
I did a test about div(grad(Ux)) and laplacian(Ux), but got different results. Why did it happen? However, div(mesh.Sf()*snGrad(Ux)) is equal to laplacian(Ux). I am looking for a way to calculate the second derivatives of Ux dux2dy2. I am not sure grad(grad(Ux).component(vector::Y))..component(vec tor::Y) is right or not. |
|
May 19, 2017, 09:15 |
|
#2 |
Member
Xinguang Wang
Join Date: Feb 2015
Posts: 45
Rep Power: 11 |
I test using icoFoam and 'cavity' in the tutorial.
Did anyone meet the same problem? |
|
July 2, 2018, 12:46 |
|
#3 |
Senior Member
Reviewer #2
Join Date: Jul 2015
Location: Knoxville, TN
Posts: 141
Rep Power: 10 |
div(grad) is not equal to Laplacian in the discrete sense, although they are equal in the continuous domain. You can show this by comparing the D2 matrix with the D1*D1 matrix. I know this is true in FDM. I think also apply to FVM.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why Laplacian is used instead of a combination of divergence and gradient operators? | HakikiCanakkaleli | OpenFOAM Programming & Development | 3 | September 26, 2019 07:40 |
Modifying the laplacian operator | mlawson | OpenFOAM Running, Solving & CFD | 22 | July 16, 2018 04:56 |
Laplacian of U vector Field at Boudary | AshwaniAssam | OpenFOAM Programming & Development | 0 | May 7, 2015 07:36 |
Laplacian containing an implicit and an explicit variable | voingiappone | OpenFOAM Programming & Development | 0 | July 1, 2013 02:40 |
div(grad) not equal to laplacian close to a discontinuity | gtg258f | OpenFOAM | 10 | December 6, 2012 05:58 |