Skip to content

Example: 2D Geometry

Jon Drobny edited this page May 24, 2023 · 17 revisions

H on BN

This example shows the interaction of 1 keV hydrogen with a circular cross-section boron nitride wire (composed of 50% B, 50% N by number).

This image shows the trajectories of hydrogen and mobile boron and nitride in a boron dust grain.

This figure shows the cross-section of boron-nitride exposed to a mono-energetic beam of 1 keV hydrogen. The trajectories of hydrogen are shown in black, boron in dark orange, and nitrogen in lighter orange. Hydrogen enters at the left side of the circular mesh, at y=0.

Input File

The input file for this simulation is located below:

boron_nitride.toml

An alternate input file using the new homogeneous 2D mesh can be found on the dev branch: boron_nitride_homogeneous.toml

To run this input file, run cargo run --release examples/boron_nitride_wire.toml in the rustbca directory.