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

calculation of the bending magnet radiation #22

Open
yangfg-bsrf opened this issue Mar 8, 2020 · 2 comments
Open

calculation of the bending magnet radiation #22

yangfg-bsrf opened this issue Mar 8, 2020 · 2 comments

Comments

@yangfg-bsrf
Copy link

yangfg-bsrf commented Mar 8, 2020

Hi, I try to simulate emission and propagation of Bending Magnet SR which follows the example 13. the observation plane is 20m away. The results for 2keV and 10keV are shown below. It remind me "One can try to fix the problem by modifying Magnetic Field definition range and/or Integration limits.the computation." can you help me check if they are physically correct considering the edge zone around x= 35mm?

2keV

10keV

code.txt

@ochubar
Copy link
Owner

ochubar commented Mar 8, 2020

Hi. Do you intend to calculate SR from central part of bending magnet, or from its edge(s)? The magnetic field and initial conditions for electron trajectory have to be defined differently in these two cases. The general rule is that the electron trajectory should not cross observation plane within the ranges of observation position. If you want to calculate emission from central part of BM, change your observation range (e.g. center it around 0 horizontal position), or increase the size of the dipole magnet.

@yangfg-bsrf
Copy link
Author

yangfg-bsrf commented Mar 9, 2020

Thanks for your reply, I want to calculate it from its edge for the bending magnet radiation background to the insert device beamline. In order to have correct result, how do I define the magnetic field and initial conditions for electron trajectory?
In addition, yes ,The remind message will disappear once I increase the size of the dipole to 3m.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants