Skip to content

How to simulate an electron cloud buildup

giadarol edited this page Dec 17, 2019 · 7 revisions

In the following we will illustrate a simple procedure to simulate the e-cloud buildup using PyECLOUD.

If you don't have it yet, please install the PyECLOUD suite following the instruction available here. We assume that the tools are installed in /home/user/tools.

Make sure that the packages are in the PYTHON_PATH. They can be added by typing:

export FOLDER_WITH_PACKAGES=/home/user/tools
export PYTHONPATH=$FOLDER_WITH_PACKAGES:$FOLDER_WITH_PACKAGES/PyHEADTAIL:$FOLDER_WITH_PACKAGES/NAFFlib:$PYTHONPATH

Create a folder for the simulation:

mkdir /home/user/Desktop/ecloud_buildup_simulation
cd ecloud_buildup_simulation

Copy one of the example simulations of PyECLOUD:

cp /home/user/tools/PyECLOUD/testing/tests_buildup/LHC_ArcDipReal_450GeV_sey1.70_2.5e11ppb_bl_1.00ns/* .

The simulation configuration can be changed by editing the input files. A detailed description of the different parameters can be found in the reference manual.

We get a simple script to run the simulation:

cp /home/user/tools/PyECLOUD/000_run_simulation.py .

We run the simulation:

python 000_run_simulation.py

A script to plot some of the output is available in PyECLOUD/doc/example/000_plot_main_output.py