Published August 24, 2022 | Version 1.0.0

LPSE data for ray-based CBET test cases

Authors/Creators

  • 1. LLE

Description

This dataset contains field data from LPSE simulations for the purpose of validating ray-based CBET models.  The input parameters required to replicate these results are given in the Physics of Plasmas paper "Validation of ray-based cross-beam energy transfer models."  All of the data is stored in HDF5 files.  Each file has three data sets: Ez, xAxis, and yAxis (the 1-D datset does not have yAxis).

Here is an example of the Matlab code to open and plot one of the 2-D files:

filename = 'two_beam_at_caustic.h5';
hInfo = h5info(filename );
data = h5read(filename , '/Ez');
xAxis = h5read(filename , '/x_axis');
yAxis = h5read(filename , '/y_axis');
figure(1); clf;
imagesc(yAxis, xAxis, data), colorbar, axis xy

Here is an example of the Python code to open and plot one of the 2-D files:

import h5py
import matplotlib.pyplot as plt

filename = 'two_beam_at_caustic.h5'
f = h5py.File(filename, 'r')
Ez = list(f["Ez"])
x_axis = list(f["x_axis"])
y_axis = list(f["y_axis"])
plt.figure()
plt.pcolormesh(x_axis,y_axis,Ez)
plt.colorbar()
plt.show()

 

Files

Files (158.2 MB)

Name Size Download all
md5:5845f952fcbb55c546aaac8c0867a505
24.7 kB Download
md5:f0b9e5ea5fc1c16948ffdda3d5eab4a1
18.7 MB Download
md5:ae7e12d9d1c4c297992e3efdf2851c89
33.2 MB Download
md5:6812e4a609533fb3564ead01fadeea8d
19.9 MB Download
md5:dc7085f21550fe29b676832ef7259a8a
19.9 MB Download
md5:5b2a838e4fb4bdecad4f1618b26b116f
33.2 MB Download
md5:f1e09105b70fe2b199945f7ad944d13f
33.2 MB Download