Smaller grid size and BC to ensure reaching a quasi-steady state after 80 ns in the domain
This commit is contained in:
parent
17021f8194
commit
db7077efc0
4 changed files with 24 additions and 24 deletions
|
|
@ -11,25 +11,25 @@ from scipy.constants import e, k
|
|||
# paths = ['../quasiNeutral_partialAblation/','../Poisson_partialAblation/']
|
||||
# paths = ['../2024-10-02_14.30.44/']
|
||||
# paths = ['../quasiNeutral_fullAblation/','../Poisson_fullAblation/']
|
||||
paths = ['../2024-11-18_08.57.04/']
|
||||
paths = ['../2024-11-28_10.01.56/']
|
||||
labels = [path[3:-1] for path in paths]
|
||||
|
||||
for path, label in zip(paths, labels):
|
||||
filesPhi = sorted(glob.glob(path+'time_*_phi.csv'))
|
||||
filesMom_i = sorted(glob.glob(path+'time_*_mom_i.csv'))
|
||||
start = 500
|
||||
end = len(filesMom_i)
|
||||
every = 200
|
||||
start = 0
|
||||
end = 50#len(filesMom_i)
|
||||
every = 10
|
||||
fig, ax = plt.subplots(4, sharex='all')
|
||||
for fileMom_i, filePhi in zip(filesMom_i[start:end+1:every], filesPhi[start:end+1:every]):
|
||||
time, r, phi, E, n_e = readPhi.read(filePhi)
|
||||
time, r, n_i, u_i, T_i, Zave = readMom.read(fileMom_i)
|
||||
|
||||
# ax[0].plot(r, phi, label='t = {:.1f} ns'.format(time*1e9))
|
||||
ax[0].plot(r, E, label='t = {:.1f} ns'.format(time*1e9))
|
||||
# ax[0].plot(r, (Zave*n_i - n_e)/n_e, label='t = {:.1f} ns'.format(time*1e9))
|
||||
# ax[0].plot(r, E, label='t = {:.1f} ns'.format(time*1e9))
|
||||
ax[0].plot(r, (Zave*n_i - n_e), label='t = {:.1f} ns'.format(time*1e9))
|
||||
ax[1].set_yscale('log')
|
||||
ax[1].set_ylim([1e20,2e25])
|
||||
# ax[1].set_ylim(bottom=1e16)
|
||||
ax[1].plot(r, Zave*n_i)
|
||||
ax[1].plot(r, n_e, color='k', linestyle='dashed')
|
||||
ax[2].plot(r, u_i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue