OpenMC Lost Particle Visualization in Coreform Cubit (Tutorial)

New in Coreform Cubit 2025.1

With OpenMC simulations, particles can become “lost” if they encounter a surface without a defined cell on the other side. This typically arises from errors or inaccuracies in the geometry definition. Coreform Cubit 2025.1 introduces a simple Python script to visualize both the geometry and the lost particles simultaneously. With it, you now have:

  • Lost Particle Identification: Automatically assigns and displays the name of each lost particle at its corresponding vertex.
  • Vector Rendering: Visualizes the velocity vector of each lost particle as an arrow graphic. Note: The vector’s length is arbitrary and does not scale with the particle’s speed.
  • Integrated Visualization: Combines geometry and lost particle data for a comprehensive view, simplifying debugging and refining simulation geometry.

View the tutorial + example files here