Skip to content

Example: Spherical Geometry

Jon Drobny edited this page Apr 24, 2024 · 11 revisions

Boron Nitride Spherical Dust Grain

RustBCA includes a homogeneous spherical target option. One can use this as such: ./rustBCA SPHERE input_file_spherical.toml. This example reproduces the boron nitride 2D geometry case but in 3D. Due to the homoegeneous spherical geometry being mathematically defined as opposed to mesh-based, this case runs faster than Example: 2D Geometry.

Run the example using: cargo run --release SPHERE examples/boron_nitride_sphere.toml

In the figure below, trajectories of hydrogen (medium blue) in a boron nitride dust grain can be seen. In the upper right of the image, a backreflected hydrogen ion can be seen - that is, it did not have sufficient energy to escape the local surface binding potential, so it was trapped on the surface. Sputtered atoms can be seen exiting the sphere.

Spherical geometry example - hydrogen on boron nitride dust grain.

Note that the trajectories exit the sphere from all directions, as opposed to the 2D geometry case which is effectively an infinite cylinder.

Reflected, sputtered, and deposited ions/atoms in a spherical boron nitride dust grain.

Input file

The input file for this simulation is located below:

boron_nitride_sphere.toml

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