Hi,
I am not sure I understand the plots. What exactly are the red lines,
different elements? How did you obtain the blue line, but interpolation
onto a finer mesh? How is the resolution of your case in terms of plus
unit (i.e. are you having a well-resolved case)?
Regarding dssum: indeed, that would make the values to be identical over
the element boundaries, but it would not affect the points just inside
the elements. So we prefer to not use dssum for the statistics to have
the potential discontinuities as a sign of (spatial) convergence.
Philipp
On 2023-10-08 16:12, KK LuLu wrote:
> Hi Neks,
> Now for my case study, I use the KTH Toolbox to calculate the TKE
> budget, which is a linear combination of tensor terms. After performing
> spatial averaging (First, perform interpolation using the '*hpts*'
> subroutine, and then process it in MATLAB), I obtained the following plot :
> tke.jpg
> You can see that the curve is not particularly smooth (especially below
> z=0.5). I suspect these spikes (non-physical oscillations in the data)
> are caused by discontinuities in the derivatives. So, I projected this
> plot onto a grid and obtained this image:
> tkemesh.png
> The red line represents the grid boundaries for each layer along the
> z-direction.
>
> Now I'm very puzzled by this issue. In fact, what we expected was to
> obtain a smooth curve. Besides, I found through inspecting the
> underlying code that the STAT module of the *KTH Toolbox* does not
> appear to use the '*opdssum*' subroutine to ensure the continuity of
> boundary values. Could this be the root cause of the issue? If that's
> the case, how should I modify it?
>
> Do you guys have any thoughts on this issue? Thanks! :)
>
> Kan
>
> --
> You received this message because you are subscribed to the Google
> Groups "Nek5000" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
nek5000+u...@googlegroups.com
> <mailto:
nek5000+u...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/nek5000/b58440e4-a5f7-4ed3-a074-fc11b0be7a51n%40googlegroups.com
> <
https://groups.google.com/d/msgid/nek5000/b58440e4-a5f7-4ed3-a074-fc11b0be7a51n%40googlegroups.com?utm_medium=email&utm_source=footer>.