Xraytrace documentation

raytracing software for x-ray standing wave calculations

User Tools

Site Tools


getting_started

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
getting_started [2018/01/24 22:44]
pklapetek
getting_started [2018/01/25 12:33] (current)
pklapetek
Line 4: Line 4:
  
  
-A very minimum set needed for a reasonable calculation is shown here. It consist of three files: parameter file, sample geometry definition file and table of material parameters. ​+A very minimum set needed for a reasonable calculation is shown here. It consist of three files: parameter file, sample geometry definition file and table of material parameters. You can paste the content below to newly created files or you can {{samples:​getting_started.tar.gz|download them}}.
  
 test.par: test.par:
Line 50: Line 50:
 </​code>​ </​code>​
  
 +Now, run the solver from command line with test.par as an argument.
 +After a while, you should get the results. Open the file out.vtk in [[http://​paraview.org|Paraview]]
 +and you should see something like this:
  
 + 
 +{{ :​started.png?​400 |}}
 +
 +This is nearly all what we can expect - at least for the basic calculation. We get the standing wave distribution within the object and we get a sum of the electric field intensity in each material. Running this for different wavelengths gives us similar information like the experiments.
  
getting_started.1516830271.txt.gz ยท Last modified: 2018/01/24 22:44 by pklapetek