vlaplex/scripts_python/readBC.py
Jorge Gonzalez 0c27b98e2e n_e as boundary condition
Now n_e is given as the density at the boundary and n_i at the boundary
is calculated once Z is known.

This aims to eliminate the iterative process.
2025-04-10 08:49:01 +02:00

15 lines
336 B
Python

import pandas
def read(filename):
# Get time
df = pandas.read_csv(filename)
time = df['t (s)'].to_numpy()
n = df['n_i (m^-3)'].to_numpy()
u = df['u_i (m s^-1)'].to_numpy()
T = df['T_i (eV)'].to_numpy()
Zinj = df['Zinj'].to_numpy()
Z_Tne = df['Z_Tne'].to_numpy()
return time, n, u, T, Zinj, Z_Tne