The most convinient way of working with EMC3 data is from netcdf files. This way all metadata and all available fields are known, and are loaded into memory as needed.
Netcdf files are also beneficial for sharing simulation results, as they contain metadata and are thus easy to use. While xemc3 only exists for python, netcdf library implementation are present in most languages, so you can easily do your analysis in your preferred language.
Plasma parameters, boundary and initial conditions input file
[1 values with dtype=<U1969]
fort.3
()
<U301
...
xemc3_type :
raw
long_name :
Control flow input file
[1 values with dtype=<U301]
fort.4
()
<U3567
...
xemc3_type :
raw
long_name :
Neutrals input file for EIRENE
[1 values with dtype=<U3567]
fort.40_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
fort.42_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
fort.43_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
fort.46_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
fort.47_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
fort.47_1
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
IMPURITY_IONIZATION_SOURCE_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
IMPURITY_IONIZATION_SOURCE_1
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
IMPURITY_NEUTRAL_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
IMP_RADIATION_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
FLUX_CONSERVATION_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
LG_CELL_0
(r, theta, phi)
float64
...
xemc3_type :
mapped
[2562048 values with dtype=float64]
dens_change
(iteration)
float64
...
xemc3_type :
info
long_name :
Relative change in density
units :
notes :
Unlike in EMC3/pymc3 this is not percent.
[1000 values with dtype=float64]
flow_change
(iteration)
float64
...
xemc3_type :
info
long_name :
Change in Flow
notes :
Not scaled
[1000 values with dtype=float64]
part_balance
(iteration)
float64
...
xemc3_type :
info
long_name :
Global particle balance
units :
A
[1000 values with dtype=float64]
dens_upstream
(iteration)
float64
...
xemc3_type :
info
long_name :
Upstream Density
units :
m$^{-3}$
[1000 values with dtype=float64]
dens_down_back
(iteration)
float64
...
xemc3_type :
info
long_name :
Downstream Density (backward direction)
units :
m$^{-3}$
[1000 values with dtype=float64]
dens_down_mean
(iteration)
float64
...
xemc3_type :
info
long_name :
Downstream Density (averaged)
units :
m$^{-3}$
[1000 values with dtype=float64]
dens_down_fwd
(iteration)
float64
...
xemc3_type :
info
long_name :
Downstream Density (forward direction)
units :
m$^{-3}$
[1000 values with dtype=float64]
Te_change
(iteration)
float64
...
xemc3_type :
info
long_name :
Relative change in el. temperature
units :
notes :
Unlike in EMC3/pymc3 this is not percent.
[1000 values with dtype=float64]
Te_upstream
(iteration)
float64
...
xemc3_type :
info
long_name :
Upstream el. temperature
units :
eV
[1000 values with dtype=float64]
Te_down_back
(iteration)
float64
...
xemc3_type :
info
long_name :
Downstream el. temperature (backward direction)
units :
eV
[1000 values with dtype=float64]
Te_down_mean
(iteration)
float64
...
xemc3_type :
info
long_name :
Downstream el. temperature (averaged)
units :
eV
[1000 values with dtype=float64]
Te_down_fwd
(iteration)
float64
...
xemc3_type :
info
long_name :
Downstream el. temperature (forward direction)
units :
eV
[1000 values with dtype=float64]
Ti_change
(iteration)
float64
...
xemc3_type :
info
long_name :
Change in ion temperature
units :
notes :
Unlike in EMC3/pymc3 this is not percent.
[1000 values with dtype=float64]
Ti_upstream
(iteration)
float64
...
xemc3_type :
info
long_name :
Upstream ion temperature
units :
eV
[1000 values with dtype=float64]
Ti_down_back
(iteration)
float64
...
xemc3_type :
info
long_name :
Downstream ion temperature (backward direction)
units :
eV
[1000 values with dtype=float64]
Ti_down_mean
(iteration)
float64
...
xemc3_type :
info
long_name :
Downstream ion temperature (averaged)
units :
eV
[1000 values with dtype=float64]
Ti_down_fwd
(iteration)
float64
...
xemc3_type :
info
long_name :
Downstream ion temperature (forward direction)
units :
eV
[1000 values with dtype=float64]
P_loss_gas
(iteration)
float64
...
xemc3_type :
info
long_name :
Power losses (neutral gas)
units :
W
[1000 values with dtype=float64]
P_loss_imp
(iteration)
float64
...
xemc3_type :
info
long_name :
Power losses (impurities)
units :
W
[1000 values with dtype=float64]
P_loss_target
(iteration)
float64
...
xemc3_type :
info
long_name :
Power losses (target)
units :
W
[1000 values with dtype=float64]
ionization_core
(iteration)
float64
...
xemc3_type :
info
long_name :
Core ionization
[1000 values with dtype=float64]
ionization_edge
(iteration)
float64
...
xemc3_type :
info
long_name :
Edge ionization
[1000 values with dtype=float64]
ionization_electron
(iteration)
float64
...
xemc3_type :
info
long_name :
Electron energy source / ionization
units :
eV
[1000 values with dtype=float64]
ionization_ion
(iteration)
float64
...
xemc3_type :
info
long_name :
Ion energy source / ionization
units :
eV
[1000 values with dtype=float64]
ionization_moment_fwd
(iteration)
float64
...
xemc3_type :
info
long_name :
Forward momentum source/ ionization
[1000 values with dtype=float64]
ionization_moment_bwk
(iteration)
float64
...
xemc3_type :
info
long_name :
Backward momentum source/ ionization
[1000 values with dtype=float64]
TOTAL_FLX
(iteration)
float64
...
xemc3_type :
info
long_name :
Total impurity flux
[1000 values with dtype=float64]
TOTAL_RAD
(iteration)
float64
...
xemc3_type :
info
long_name :
Total radiation
units :
W
[1000 values with dtype=float64]
_plate_phi_plus1_dims
(plate_ind)
int64
...
[22 values with dtype=int64]
_plate_x_plus1_dims
(plate_ind)
int64
...
[22 values with dtype=int64]
surftype_ne
(r_plus1, theta_plus1, phi_plus1)
bool
...
xemc3_type :
depo
description :
True means +1, False means -1
[2657340 values with dtype=bool]
flux_ne
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
long_name :
Outflux of particles
units :
s^-1
[2657340 values with dtype=float64]
PARTICLE_DEPO_2
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
PARTICLE_DEPO_3
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
PARTICLE_DEPO_4
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
PARTICLE_DEPO_5
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
PARTICLE_DEPO_6
(r_plus1, theta_plus1, phi_plus1)
bool
...
xemc3_type :
depo
[2657340 values with dtype=bool]
PARTICLE_DEPO_7
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
surftype_Te
(r_plus1, theta_plus1, phi_plus1)
bool
...
xemc3_type :
depo
description :
True means +1, False means -1
[2657340 values with dtype=bool]
flux_P
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
long_name :
Outflux of energy
units :
W
[2657340 values with dtype=float64]
ENERGY_DEPO_2
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
ENERGY_DEPO_3
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
ENERGY_DEPO_4
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
ENERGY_DEPO_5
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
ENERGY_DEPO_6
(r_plus1, theta_plus1, phi_plus1)
bool
...
xemc3_type :
depo
[2657340 values with dtype=bool]
ENERGY_DEPO_7
(r_plus1, theta_plus1, phi_plus1)
float64
...
xemc3_type :
depo
[2657340 values with dtype=float64]
_plate_phi_dims
(plate_ind)
int64
...
[22 values with dtype=int64]
_plate_x_dims
(plate_ind)
int64
...
[22 values with dtype=int64]
f_n
(plate_ind, plate_phi, plate_x)
float64
...
long_name :
Particle flux
[1232000 values with dtype=float64]
f_E
(plate_ind, plate_phi, plate_x)
float64
...
units :
W/m²
scale :
10000.0
long_name :
Energy flux
[1232000 values with dtype=float64]
avg_n
(plate_ind, plate_phi, plate_x)
float64
...
units :
m^-3
scale :
1000000.0
long_name :
Averge density
[1232000 values with dtype=float64]
avg_Te
(plate_ind, plate_phi, plate_x)
float64
...
units :
eV
long_name :
Average electron temperature
[1232000 values with dtype=float64]
avg_Ti
(plate_ind, plate_phi, plate_x)
float64
...
units :
eV
long_name :
Average ion temperature
[1232000 values with dtype=float64]
tot_n
(plate_ind)
float64
...
[22 values with dtype=float64]
tot_P
(plate_ind)
float64
...
[22 values with dtype=float64]
title :
EMC3-EIRENE Simulation data
software_name :
xemc3
software_version :
0.2.2.dev5+g7311151
date_created :
2022-10-27T13:16:46.836400
id :
9bda9808-55f9-11ed-9228-00001029fe80
references :
https://doi.org/10.5281/zenodo.5562265
Quantities can be accessed either by the [] operator like ["nZ3"] or by .nZ3. Note that assigning new quantities is only possible with the [] notation.