Skip to content

Problems with my simulation #16

@sgamba2

Description

@sgamba2

Hi,

I’ve been using Nebula for about a year now, and I currently have a few issues I’m struggling to understand. I would greatly appreciate your support on the following points:

  1. Issue with the --key option
    When I try to run Nebula with the --key option, I receive the following error:
    terminate called after throwing an instance of 'std::runtime_error'
    what(): Unexpected key 'key'
    Aborted (core dumped)
    Could you please clarify what the correct command syntax is, or if --key is deprecated?

  2. Studying electron transmittance through materials
    I am trying to use Nebula to study electron transmittance — specifically, how many electrons remain after passing through 1 μm of gold and where they stop exactly in the material, for example. This is the geometry I’m currently using:

0 -123  -500  -500      0   500  -500      0   500   500      0
0 -123  -500  -500      0   500   500      0  -500   500      0

-127 -127  -500  -500     10   500  -500     10   500   500     10
-127 -127  -500  -500     10   500   500     10  -500   500     10

-126 -126  -500  -500  -1000   500  -500  -1000   500   500  -1000
-126 -126  -500  -500  -1000   500   500  -1000  -500   500  -1000

-122 -122   500  -500  -1000   500   500  -1000   500   500     10
-122 -122   500  -500  -1000   500   500     10   500  -500     10

-122 -122  -500   500  -1000  -500  -500  -1000  -500   500     10
-122 -122  -500   500     10  -500  -500  -1000  -500  -500     10

-122 -122  -500  -500  -1000   500  -500  -1000   500  -500     10
-122 -122  -500  -500  -1000   500  -500     10  -500  -500     10

-122 -122   500   500  -1000  -500   500  -1000   500   500     10
-122 -122   500   500     10  -500   500  -1000  -500   500     10

Is that a correct geometry if starting point of electrons is (0,0,-1), with direction (0,0,-1)? What is the correct starting point of my electron?

  1. Choosing the appropriate executable
    For this type of simulation, should I use nebula_cpu_mt or nebula_cpu_edep? (I'm not using a GPU). I don't get their difference.
    When I use nebula_cpu_mt, no electrons seem to exit the simulation.
    On the other hand, with nebula_cpu_edep, I do see some electrons — could you explain what these electrons represent? In particular, what does the z-coordinate in the output refer to? What is the energy of these electrons?

  2. Since I see nothing with nebula_cpu_mt (even if I change to 1nm the depth of my material), should I modify something in .yaml files or in the source code?

Here attached some of my analysis scripts

studio.py
reels-pri-gold-back-0400.py

Thank you for your time
Sara

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions