Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation example/Bunch #162

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions examples/Bunch/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
--- # Documentation for the Kelvin-Helmholtz Example
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Muha

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will change this
thx

example:
name: Thomson scattering from laser electron-bunch interaction
short: Bunch
author: Richard Pausch <r.pausch (at) hzdr.de>, Rene Widera <r.widera (at) hzdr.de>
maintainer: Richard Pausch <r.pausch (at) hzdr.de>

description: |
This is a simulation of an electron bunch that collides
head-on with a laser pulse. Depending on the number of
electrons in the bunch, their momentum and their distribution
and depending on the laser wavelength and intensity,
the emitted radiation differs. A general description of this
simulation can be found in *PauschDipl. A detailed analysis of
this bunch simulation can be found in *Pausch13. A theoretical
study of the emitted radiation in head-on laser electron
collisions can be found in *Esarey93.

references:
- PauschDipl: &PauschDipl
author: Richard Pausch
title: Electromagnetic Radiation from Relativistic Electrons as Characteristic Signature of their Dynamics
journal: Diploma Thesis TU Dresden
year: 2012
link: http://www.hzdr.de/db/Cms?pOid=38997
- Pausch13: &Pausch13
author: R. Pausch, A. Debus, R. Widera, K. Steiniger, A. Huebl, H. Burau, M. Bussmann, U. Schramm
title: How to test and verify radiation diagnostics simulations within particle-in-cell frameworks
journal: Nuclear Instruments and Methods in Physics Research Section A
year: 2013
link: http://dx.doi.org/10.1016/j.nima.2013.10.073
- Esarey93: &Esarey93
author: E. Esarey, S. Ride, P. Sprangle
title: Nonlinear Thomson scattering of intense laser pulses from beams and plasmas
journal: Physical Review E
year: 1993
link: http://dx.doi.org/10.1103/PhysRevE.48.3003

--- # Run-Time Tests for the Bunch Example
test:
- nonlinearThomsonScattering:
name: nonlinear Thomson scattering from an electron bunch Test
description: |
This test simulates an electron bunch with an reltivistic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with a relativistic

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

gamma factor of gamma=5.0 with an laser with a_0=1.5.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx
additionally and is missing

The resulting radiation should scale with the number of
real electrons (incoherent radiation).
cmakeflag: 0
cfgfile: submit/0032gpus.cfg
gpus: 16

pre-run:
- echo "Starting nonlinear Thomson scattering Test"
post-run:
- echo "get total electron number (from histogram)"
- echo "check emitted spectra (totalRad)"
- echo "compare with theoretical predictions:"
- echo "(higher harmonics, intensity, relativistic frequency shift)"
- echo "ok / failed"

Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ const double UNITCONV_A0_to_Amplitude_SI = -2.0 * PI / WAVE_LENGTH_SI * ::picong
//const double _A0 = _PEAK_INTENSITY_SI * UNITCONV_Intens_to_A0;

/** unit: none */
//const double _A0 = 1.5;
const double _A0 = 1.5;

/** unit: Volt /meter */
//const double AMPLITUDE_SI = _A0 * UNITCONV_A0_to_Amplitude_SI;
const double AMPLITUDE_SI = _A0 * UNITCONV_A0_to_Amplitude_SI;

/** unit: Volt /meter */
const double AMPLITUDE_SI = 1.738e13;
//const double AMPLITUDE_SI = 1.738e13;

/** Pulse length: sigma of std. gauss for intensity (E^2)
* PULSE_LENGTH_SI = FWHM_of_Intensity / [ 2*sqrt{ 2* ln(2) } ]
Expand Down
4 changes: 2 additions & 2 deletions examples/KelvinHelmholtz/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ example:

references:
- Alves12: &Alves12
author ...
author: ...
title: ...
journal: ...
year: ...
link: doi link!
- Bussmann13: &Bussmann13
author: ...
author: ...
title: ...
journal: ...
year: ...
Expand Down