CERN Accelerating science

You are here

Documentation: Periodic boundary conditions (the teleport function)

Molflow allows you to simulate periodic structures by simulating only one structure and defining „teleport” boundary conditions on edges. Therefore, once a particle hits one end of the structure, it is transported back to the other side, thus simulating an infinite loop.

Image

Though the principle is simple, several conditions have to be met to define such a structure in Molflow.

You have to have two teleport facets, that will teleport particles to each other. For the correct functioning of the teleport, the following conditions have to be met:

  • Both facets have the same shape
  • Both normals are pointing to the same direction
  • Both U,V vectors point to the same direction
  • If the above conditions are met, most probably one of the two facets will receive particles from its back side, thus it has to be two-sided
  • Facet A must be a teleport to facet B (enter facet B’s number to the teleport facet parameter field)
  • Facet B must be a teleport to facet A

Image

You can download a simple teleport example where everything is set up correctly.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer