Corrections to tag v2.5

Small set of corrections to the tag v2.5.

Includes changes to python scripts to plot data.

Includes new 'fast' setup conditions that allow to output cases in an
hour or so with still a good CFL condition and grid resolution.
This commit is contained in:
Jorge Gonzalez 2025-04-08 16:32:59 +02:00
commit 052a4dc05e
20 changed files with 790 additions and 107 deletions

View file

@ -4,15 +4,14 @@ import numpy as np
import readBC
fileBC = glob.glob('../2025-02-10_11.14.59/bc.csv')
time, n, u, T, TtoZ, Zinj = readBC.read(fileBC[0])
paths = ['../polytropic_80ns_T30/']
time, n, u, T, Zinj = readBC.read(paths[0] + 'bc.csv')
fig, ax = plt.subplots()
plt.plot(time, n / n[0] , label = f"$n_i$ ($\\times {n[0] * 1e-6} \\; cm^{{-3}})$")
plt.plot(time, T / T[0], label = f"$T \\; (\\times{T[0]} \\; eV)$")
plt.plot(time, TtoZ, label = "$Z$")
plt.plot(time, n / n[0], label = f"$n_i$ ($\\times {n[0] * 1e-6:.0e} \\; cm^{{-3}})$")
plt.plot(time, T / T[0], label = f"$T \\; (\\times{T[0]:.1f} \\; eV)$")
plt.plot(time, Zinj, label = "Injection species")
plt.semilogy()
plt.legend()