Note
Go to the end to download the full example code.
Sedov blast solution#
This example shows how to plot the analytical solution to the sedov blast
9 import matplotlib.pyplot as plt
10 import numpy as np
11
12 import shamrock
29 plt.plot(x, rho, label="rho")
30 plt.plot(x, vr, label="vr")
31 plt.plot(x, p, label="p")
32 plt.xlabel("r")
33 plt.legend()
34 plt.tight_layout()
35 plt.show()

Total running time of the script: (0 minutes 0.333 seconds)
Estimated memory usage: 80 MB