Skip to main content
Bumped by Community user
Bumped by Community user
deleted 459 characters in body
Source Link

So I managed to fix my problem. First, off I was missing a factor of 0.5 when calculating the surface integral. Additionally, I am using the following normalization $\phi(x) = \sqrt{2m + 1} L(\xi)$. I have one last question (I apologize if this is off topic). A problem I identified in my code was that my way of doing tensor products was not the same as the original paper by Cockburn or a paper by Praveen et al (https://arxiv.org/pdf/1506.06140.pdf). TheThe standard way of computing tensor products is $$ u_{h}(x,y) = \sum_{k = 0}^{N} \sum_{l = 0}^{M} u_{ij}(t) \phi_{k}(x) \phi_{l}(y) (1), $$ The tensor product formula adapted in the last two papers are $$ U_{h}(x,y) = \sum_{k=0}^{\frac{1}{2}(k + 1)(k + 2)} u_{ij}^{k}(t) \phi_{k}(x,y) (2) $$ Is there a reason to use formula (1) over formula (2)? Mathematically, they seem both correct.

So I managed to fix my problem. First, off I was missing a factor of 0.5 when calculating the surface integral. Additionally, I am using the following normalization $\phi(x) = \sqrt{2m + 1} L(\xi)$. I have one last question (I apologize if this is off topic). A problem I identified in my code was that my way of doing tensor products was not the same as the original paper by Cockburn or a paper by Praveen et al (https://arxiv.org/pdf/1506.06140.pdf). The standard way of computing tensor products is $$ u_{h}(x,y) = \sum_{k = 0}^{N} \sum_{l = 0}^{M} u_{ij}(t) \phi_{k}(x) \phi_{l}(y) (1), $$ The tensor product formula adapted in the last two papers are $$ U_{h}(x,y) = \sum_{k=0}^{\frac{1}{2}(k + 1)(k + 2)} u_{ij}^{k}(t) \phi_{k}(x,y) (2) $$ Is there a reason to use formula (1) over formula (2)? Mathematically, they seem both correct.

The standard way of computing tensor products is $$ u_{h}(x,y) = \sum_{k = 0}^{N} \sum_{l = 0}^{M} u_{ij}(t) \phi_{k}(x) \phi_{l}(y) (1), $$ The tensor product formula adapted in the last two papers are $$ U_{h}(x,y) = \sum_{k=0}^{\frac{1}{2}(k + 1)(k + 2)} u_{ij}^{k}(t) \phi_{k}(x,y) (2) $$ Is there a reason to use formula (1) over formula (2)? Mathematically, they seem both correct.

added 453 characters in body
Source Link

Above is a snippet in how I perform the tensor product quadrature. I'm a little confused on why removing the normalizing of the Gauss quadrature is causing such severe results. Below are images of when
Solution:

So I remove normalizationmanaged to fix my problem. First, off I was missing a factor of the weights and Legendre polynomials (but normalize0.5 when calculating the basis)surface integral. As we can see Additionally, when I removeam using the following normalization of the weights my solution does not evolve in time$\phi(x) = \sqrt{2m + 1} L(\xi)$. I have one last question (it just staysI apologize if this is off topic). A problem I identified in my code was that my way of doing tensor products was not the same place as when T = 0the original paper by Cockburn or a paper by Praveen et al (https://arxiv.org/pdf/1506.06140.pdf). The standard way of computing tensor products is Unnormalized weights$$ u_{h}(x,y) = \sum_{k = 0}^{N} \sum_{l = 0}^{M} u_{ij}(t) \phi_{k}(x) \phi_{l}(y) (1), $$ Normalized weightsThe tensor product formula adapted in the last two papers are $$ U_{h}(x,y) = \sum_{k=0}^{\frac{1}{2}(k + 1)(k + 2)} u_{ij}^{k}(t) \phi_{k}(x,y) (2) $$ Is there a reason to use formula (1) over formula (2)? Mathematically, they seem both correct.

Above is a snippet in how I perform the tensor product quadrature. I'm a little confused on why removing the normalizing of the Gauss quadrature is causing such severe results. Below are images of when I remove normalization of the weights and Legendre polynomials (but normalize the basis). As we can see, when I remove the normalization of the weights my solution does not evolve in time (it just stays in the same place as when T = 0). Unnormalized weights Normalized weights

Above is a snippet in how I perform the tensor product quadrature. I'm a little confused on why removing the normalizing of the Gauss quadrature is causing such severe results.
Solution:

So I managed to fix my problem. First, off I was missing a factor of 0.5 when calculating the surface integral. Additionally, I am using the following normalization $\phi(x) = \sqrt{2m + 1} L(\xi)$. I have one last question (I apologize if this is off topic). A problem I identified in my code was that my way of doing tensor products was not the same as the original paper by Cockburn or a paper by Praveen et al (https://arxiv.org/pdf/1506.06140.pdf). The standard way of computing tensor products is $$ u_{h}(x,y) = \sum_{k = 0}^{N} \sum_{l = 0}^{M} u_{ij}(t) \phi_{k}(x) \phi_{l}(y) (1), $$ The tensor product formula adapted in the last two papers are $$ U_{h}(x,y) = \sum_{k=0}^{\frac{1}{2}(k + 1)(k + 2)} u_{ij}^{k}(t) \phi_{k}(x,y) (2) $$ Is there a reason to use formula (1) over formula (2)? Mathematically, they seem both correct.

deleted 6 characters in body
Source Link

Above is a snippet in how I perform the tensor product quadrature. I'm a little confused on why removing the normalizing of the Gauss quadrature is causing such severe results. Below are images of when I remove normalization of the weights and Legendre polynomials (but normalize the basis). As we can see, when I remove the normalization of the weights my solution does not evolve in time (it just stays in the same place as when T = 0). No normalizaion of wieghtsUnnormalized weights Normalized weights

Above is a snippet in how I perform the tensor product quadrature. I'm a little confused on why removing the normalizing of the Gauss quadrature is causing such severe results. Below are images of when I remove normalization of the weights and Legendre polynomials (but normalize the basis). No normalizaion of wieghts Normalized weights

Above is a snippet in how I perform the tensor product quadrature. I'm a little confused on why removing the normalizing of the Gauss quadrature is causing such severe results. Below are images of when I remove normalization of the weights and Legendre polynomials (but normalize the basis). As we can see, when I remove the normalization of the weights my solution does not evolve in time (it just stays in the same place as when T = 0). Unnormalized weights Normalized weights

More info
Source Link
Loading
Source Link
Loading