Version: SMASH-3.1
Output configuration examples


Example: Configuring the SMASH Output
The following example configures the output to be printed in an interval of 1 fm and with the net baryon density being printed to the header. The particles output is generated in "Oscar1999", VTK and "Root" format, generating output for each time step. The collisions output is formatted according to an extended "Oscar2013" format and the initial and final particle lists are printed as well.

Output:
    Output_Interval: 1.0
    Density_Type: "baryon"
    Particles:
        Format:    ["Oscar1999", "VTK", "Root"]
        Extended: False
        Only_Final: No
    Collisions:
        Format:    ["Oscar2013"]
        Extended: True
        Print_Start_End: True

In addition, the photon and dilepton output can be enabled as follows, where the dilepton output is generated in extended "Oscar2013" and "Binary" format and the photon output is printed in "Oscar2013" format.

    Dileptons:
        Format:    ["Oscar2013", "Binary"]
        Extended: True
    Photons:
        Format:    ["Oscar2013"]

Additionally, the thermodynsamics output can be activated. In this example, thermodynamic output is activated for hadrons. The quanities that are printed are the density in the Eckart rest frame and the energy momentum tensor in the Landau rest frame. These quantities are printed at each time step for the position (0,0,0). Gaussian smearing is not applied. The output is provided in "ASCII" and "VTK" format.

    Thermodynamics:
        Format:    ["ASCII", "VTK"]
        Type: "hadron"
        Quantities:    ["rho_eckart", "tmn_landau"]
        Position:    [0.0, 0.0, 0.0]
        Smearing: False

SMASH can further be applied to extract initial conditions for hydrodynamic simulations. The corresponding output provides the particle list on a hypersurface of constant proper time. If desired, the proper time can be set manually from the configuration file (in the following example at \(\tau = 1.5 \) fm). If not provided, the default proper time corresponds to the moment when both nuclei have entirely passed through each other, while this proper time is greater than 0.5 fm. Else it is set to \(\tau = 0.5 \) fm.
The initial conditions output can be enabled as follows:

    Initial_Conditions:
        Format:    ["ASCII", "Oscar1999", "Oscar2013", "Binary", "ROOT"]
        Extended: False
        Proper_Time: 1.5

The HepMC_asciiv3 and/or HepMC_treeroot ouputs are enabled by specifying these output options under Particles or Collisions depdening on the content wanted.

Output:
    Particles:
        Format:          ["HepMC_asciiv3","HepMC_treeroot"]
    Collisions:
        Format:          ["HepMC_asciiv3","HepMC_treeroot"]

If a lattice is configured and coulomb potentials are enabled, a VTK output for the electric and magnetic fields is available. It can be obtained by adding the following to the output section of the configuration:

    Coulomb:
        Format:   ["VTK"]