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
Use shamrock documentation style for matplotlib
16 shamrock.matplotlib.set_shamrock_mpl_style()
34 plt.plot(x, rho, label="rho")
35 plt.plot(x, vr, label="vr")
36 plt.plot(x, p, label="p")
37 plt.xlabel("r")
38 plt.legend()
39 plt.tight_layout()
40 plt.show()

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