Electromagnetic fields (EEMF_macros.mortran) in DOSRZnrc #975
-
I am trying to simulate PDDs with/without magnetic fields. I was thinking of using dosrznrc. Is it possible to use Example
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Yes, it is possible to use EEMF in DOSRZnrc, since it is implemented in the mortran backend. You need to define the EMF parameters in your input file, as detailed in the instructions, section 4. If it does not work as expected, please share a small sample input file so that we can take a look at it. |
Beta Was this translation helpful? Give feedback.
-
Make sure that the magnetic field numbers are separated by commas, not just spaces! This is a requirement for the Mortran codes but not in egs++, so is a very easy mistake to make. |
Beta Was this translation helpful? Give feedback.
Yes, it is possible to use EEMF in DOSRZnrc, since it is implemented in the mortran backend. You need to define the EMF parameters in your input file, as detailed in the instructions, section 4. If it does not work as expected, please share a small sample input file so that we can take a look at it.