2.1.1 Plot a polar grid

This example shows how to initialize a polar grid with a hole inside and angular symmetry, so that fields only depend on the radial coordinate.

Area=65.973
from pde import PolarSymGrid

grid = PolarSymGrid((2, 5), 8)
grid.plot(title=f"Area={grid.volume:.5g}")

Total running time of the script: (0 minutes 0.081 seconds)