

thank you for your response, Prof. Wolfgang Bangerth.
In Step-24, I encountered numerical dispersion in my wave equation simulations at the beginning. I understand that this issue can often be mitigated by refining the mesh and reducing the time step. However, in the results of Step-89, even with a relatively coarse mesh, the numerical dispersion seems much smaller. It also appears that higher-order interpolation is applied, which is more in line with my expectations.
What I would like to understand is why Step-89 gives better results than Step-24. As mentioned earlier, in Step-24, the results appear to resemble linear interpolation, even though I used third-order finite elements. In contrast, Step-89 seems to produce results that behave more like higher-order interpolation. Additionally, I’ve noticed that the parameters of the `build_patches` function seem to have a significant impact on the output, which might explain some of the differences.
If my question is still unclear or confusing, I completely understand and I appreciate your time. Please feel free to ignore it if it’s not clear. I can reduce the time step as much as possible to minimize numerical dispersion.