Documentation: Getting started with SynRad

 

Simulating synchrotron radiation with SynRad consists of 4 steps. The best way to learn them is to go through the quick start tutorial.

1. Import geometry

Although SynRad contains basic geometry editing functions, to start your simulation, you need to import/load your own geometry. If you have your geometry in a CAD porgram, export it in STL format. When you do that, take care of the following:

  • The STL file must be in ASCII (Text) format. Some CAD programs offer binary format that Molflow won't read.
  • STL files contain only coordinates, but not the units. Usually you need to choose the units when exporting. You can choose anything, but remember your choice, it will be useful when you import the file.

Then import the geometry to SynRad by loading the STL file. You will be asked what units your CAD program was exporting with, then all units will be converted to centimeters, the default unit in SynRad.

Then, to merge the triangles into facets, you will have to collapse your geometry.

2. Set up facets

What you have imported so far is the pure geometry. You need to define reflectivity of facets and the materials they consist of. To do this, read the documentation of facets parameters panel.

3. Add beam and magnetic regions

Now you have to define the beam properties and also the magnetic field it is passing through. The trajectory and the radiation will be calculated automatically.

4. Interpret results

Run your simulation and get the results. For this, you will need to read the absorbed power and flux in the facets panel, and also by setting up profiles, textures and spectrum. The best way to learn how to set them up is by following the quick start tutorial.