You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: episodes/ossfe2025.Rmd
+23-18Lines changed: 23 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -16,15 +16,15 @@ exercises: 30
16
16
17
17
- 💻 Install WarpX on your local machine with [Conda](https://docs.conda.io/en/latest/)
18
18
- 🏃 Run a fusion-relevant example on your local machine: protons in a magnetic mirror!
19
-
- 👀 Visualize the results with `python` and `Paraview`
19
+
- 👀 Visualize the results with `Python` and `Paraview`
20
20
21
21
::::::::::::::::::::::::::::::::::::::::::::::::
22
22
23
23
## WarpX, a particle-in-cell code
24
24
25
25
Welcome to the WarpX tutorial at [OSSFE 2025](https://ossfe.github.io/)! 👋
26
26
27
-
[WarpX](https://github.com/BLAST-WarpX/warpx) is a general purpose **open-source****high-performance****Particle-In-Cell** (PIC) code.
27
+
[WarpX][warpx] is a general purpose **open-source****high-performance****Particle-In-Cell** (PIC) code.
28
28
If you are not familiar with the PIC method, here is a picture that condenses the core idea:
29
29
30
30
, check it out!
50
+
📣 Everything you need to know to use WarpX is in the [documentation][warpx-readthedocs], check it out!
then you got this 🙌! You can also import `pywarpx` in `python`
106
+
then you got this 🙌! You can also import `pywarpx` in Python.
107
107
108
108
109
109
## A simple example of a magnetic mirror
@@ -160,20 +160,22 @@ Here we have loaded the field of hte magnetic bottle from a file.
160
160
You can also you can [define an external field analytically](https://warpx.readthedocs.io/en/latest/usage/parameters.html#applied-to-particles).
161
161
162
162
163
-
## Visualizing
163
+
## Data handling and visualizations
164
164
165
-
### With python 🐍
165
+
### With Python 🐍
166
166
167
-
Now that we have the results, we can analyze them using `python`.
168
-
We will use the [openPMD-viewer](https://openpmd-viewer.readthedocs.io/en/latest/) library to grab the data that the simulation produced in `openPMD` format.
167
+
Now that we have the results, we can analyze them using Python.
168
+
We will use the [openPMD-viewer][openpmd-viewer] library to grab the data that the simulation produced in `openPMD` format.
169
169
Here you can find [a few great tutorials on how to use the viewer](https://openpmd-viewer.readthedocs.io/en/latest/tutorials/tutorials.html).
170
-
If you feel nerdy and/or you need to deal with the data in parallel workflows, you can use the [openPMD-api](https://openpmd-api.readthedocs.io/en/latest/).
{alt="simulation of proton trajectories inside a magnetic mirror"}
202
204
@@ -209,12 +211,15 @@ And that's all for now! 👋
209
211
210
212
::::::::::::::::::::::::::::::::::::: keypoints
211
213
212
-
🚀 [**WarpX**](https://ecp-warpx.github.io/) is a open-source high-performance particle-in-cell code
214
+
🚀 [**WarpX**][warpx] is a open-source high-performance particle-in-cell code
213
215
214
216
🎯 WarpX is **easy to install via Conda**: `conda -c conda-forge warpx`
215
217
216
-
🔍 The [**documentation**](https://warpx.readthedocs.io/en/latest/) is the first place to look for answers, otherwise check out our [**issues**](https://github.com/BLAST-WarpX/warpx/issues) and [**discussions**](https://github.com/BLAST-WarpX/warpx/discussions).
218
+
🔍 The [**documentation**][warpx-readthedocs] is the first place to look for answers,
219
+
otherwise check out our [**issues**][warpx-issues] and [**discussions**][warpx-discussions] and ask there.
217
220
218
-
📷 To visualize the simulation results in [**openPMD**](http://www.openpmd.org/) format, you can use the [**openPMD-viewer**](https://openpmd-viewer.readthedocs.io/) library for `python` or you can open `.pmd` files directly in [**Paraview**]((https://www.paraview.org/download/)).
221
+
📷 To analyze and visualize the simulation results in [**openPMD**][openpmd] format,
222
+
you can use the [**openPMD-viewer**][openpmd-viewer] library for Python
223
+
or you can open `.pmd` files directly in [**Paraview**]((https://www.paraview.org/download/)).
Copy file name to clipboardExpand all lines: instructors/instructor-notes.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,14 @@
2
2
title: 'Instructor Notes'
3
3
---
4
4
5
-
This is a placeholder file. Please add content here.
5
+
### Discussions at OSSFE 2025
6
+
7
+
* Who develops WarpX? [A lot of people][https://github.com/BLAST-WarpX/warpx/graphs/contributors] from all around the world that work in different fields! WarpX is an open-source project that belongs to the [High Performance Software Foundation][hpsf], which itself is part of the nonprofit [Linux Foundation][https://www.linuxfoundation.org/].
8
+
9
+
* What is the difference between a Monte Carlo code and a Particle-In-Cell code? Typically in MC the particles are independent one another, while in PIC they interact through the self-consistent field (collective effect). That being said, MC can and are included in the core PIC loop to simulate, e.g., binary collisions, ionzation, nuclear reactions, QED processes.
10
+
11
+
* Why Conda environments over Python environments? Conda is a system package manager, while `pip` is a Python package manager. With `conda` you can install much more than just Python libraries.
12
+
13
+
* Can WarpX deal with different species? [But of course][https://warpx.readthedocs.io/en/latest/usage/parameters.html#particle-initialization]! One can initialize as many species as desired, with user-define mass and charge. Beware that not all the additional physics modules (ionization, QED, ...) may work for arbitrary species!
14
+
15
+
* Does WarpX support mixed kinetic and fluid descriptions? Yes, check out the [hybrid solver][https://warpx.readthedocs.io/en/latest/theory/kinetic_fluid_hybrid_model.html]!
Copy file name to clipboardExpand all lines: learners/reference.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: 'Reference'
2
+
title: 'References'
3
3
---
4
4
5
5
## Useful links
@@ -18,7 +18,7 @@ title: 'Reference'
18
18
19
19
*[**openPMD viewer**](https://openpmd-viewer.readthedocs.io/): an open-source Python package to access openPMD data
20
20
21
-
*[**PICMI**](https://picmi.readthedocs.io/en/latest/): `Particle-In-Cell Modeling Interface`, a standard proposing naming and structure conventions for particle-in-cell simulation input
21
+
*[**PICMI**][https://picmi.readthedocs.io/en/latest/]: `Particle-In-Cell Modeling Interface`, a standard proposing naming and structure conventions for particle-in-cell simulation input
0 commit comments