Skip to content

Example: Spherical Geometry

Jon Drobny edited this page Mar 4, 2021 · 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

Note that the trajectories exit the sphere from all directions, as opposed to the 2D geometry case which is effectively an infinite cylinder. Sputtered atoms leave star markers when they leave. A backreflected sputtered atom that did not have sufficient energy to leave the surface binding energy barrier is visible near the bottom of the sphere.

Trajectories of hydrogen on a boron nitride spherical dust grain.

In the figure below, red spheres are reflected hydrogen atoms, grey spheres are sputtered boron or nitrogen, and black spheres are deposited hydrogen. It is clear that most sputtered atoms happen at or near the point of beam impact. Reflection/transmission is biased towards the opposite side of the sphere from the impact point.

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 examples/boron_nitride_sphere.toml in the rustbca directory.

Click Pages above to see all pages in the Wiki.

Start Here

Home page

Installation

Selected Benchmarks

Frequently Asked Questions

FAQ

This page is a work in progress.

Using the Standalone Code

Input Files

Output Files

Error Messages

Interaction Potentials

Standalone Code Examples

Layered Targets

2D Geometry

Spherical Geometry

3D Geometry

Gaseous Targets

Multiple Interaction Potentials

Output Histograms

Bindings

Python

C/C++

Fortran

Clone this wiki locally