In this document we revisit the solution of the Helmholtz equation and demonstrate how to simulate the scattering of a planar wave from a circular cylinder using an unstructured mesh.
We revisit the problem considered in another tutorial: the scattering of a planar sound wave impacting on a rigid, impermeable obstacle as shown in this sketch:
The figure below shows plots of the real and imaginary parts of the fluid's displacement potential (a measure of the fluid pressure). The red and green lines correspond to the computed and exact analytical solutions, respectively. (We refer to another tutorial for details.)
The driver code for this problem is very similar to the one discussed in another tutorial. Running
sdiff on the two driver codes
shows you the differences, the most important of which are:
A pdf version of this document is available.