Hi all,
I have a time dependent function that starts acting rather strange on the boundary after some time. Below is an image of it using Warp by Scalar feature in Paraview.
You can see how jagged it is at the boundary. These are things I have done and hasn’t worked:
1- I have used projections onto spaces with CR, CG and DG elements with low and high degrees. But it didn’t help.
2- I have used very fine mesh close to the boundary but it didn’t work.
3- I have used mesh and boundary smoothing at each time step and that didn’t work.
4- I have done all of the above together with no luck.
I was thinking about replacing the values of the function at the boundary with the average of the function over the boundary but I don’t know how to do so. Can you send me a mini code that does that? Or let me know if you have other easier suggestions to solve this problem.
Best,