Projectile:
Section for projectile nucleus. The projectile will start at \(z < 0\) and fly in positive \(z\)-direction, at \(x \ge 0\).
Target:
Section for target nucleus. The target will start at \(z > 0\) and fly in negative \(z\)-direction, at \(x \le 0\).
Projectile:
and Target:
Particles
(int:int, int:int, required):Particles: {2212: 82, 2112: 126}
for a lead-208 nucleus (82 protons and 126 neutrons = 208 nucleons), and Particles: {2212: 1, 2112: 1, 3122: 1}
for Hyper-Triton (one proton, one neutron and one Lambda).Diffusiveness
(double, optional, default = (0.545 for A <= 16; 0.54 for A > 16)): Radius
(double, optional, default = proton_rad * A^(1/3)): Saturation_Density
(double, optional, default = 0.168): Deformed:
Automatic
(bool, required if Deformed
exists, no default): Beta_2
, Beta_4
, Theta
and Phi
, which follow Moller:1993ed. Beta_2
(double, optional):Beta_4
(double, optional):Theta
(double, optional): Phi
(double, optional):Custom:
File_Directory
(path, required if Custom
exists): File_Name
(string, required if Custom
exists):
To configure a fixed target heavy-ion collision with deformed nuclei, whose spherical deformation is explicitly declared, it can be done according to the following example. For explanatory (and not physics) reasons, the projectile's Woods Saxon distribution is initialized automatically and it's spherical deformation manually, while the target nucleus is configured just the opposite.
Modi: Collider: Projectile: Particles: {2212: 29, 2112: 34} Deformed: # Manually set deformation parameters Automatic: False Beta_2: 0.1 Beta_4: 0.3 Theta: 0.8 Phi: 0.02 Target: Particles: {2212: 29, 2112: 34} # manually set woods saxon parameters Saturation_Density: 0.1968 Diffusiveness: 0.8 Radius: 2.0 Deformed: # Automatically set deformation parameters Automatic: True E_kin: 1.2 Calculation_Frame: "fixed target"
The following example illustrates how to configure a center-of-mass heavy-ion collision with nuclei generated from an external file. The nucleon positions are not sampled by smash but read in from an external file. The given path and name of the external file are made up and should be defined by the user according to the used file.
Modi: Collider: Projectile: Particles: {2212: 79, 2112: 118} Custom: File_Directory: "/home/username/custom_lists" File_Name: "Au197_custom.txt" Target: Particles: {2212: 79, 2112: 118} Custom: File_Directory: "/home/username/custom_lists" File_Name: "Au197_custom.txt" Sqrtsnn: 7.7
The following example shows how an input file should be formatted:
The input file contains 5 columns (x, y, z, s, c). The first three columns specify the spatial cordinates in fm. The fourth column denotes the spin projection. The fifth contains the charge with 1 and 0 for protons and neutrons respectively. In the example given the first line defines a neutron and the second one a proton. Please make sure that your file contains as many particles as you specified in the configuration. For the example configuration your file needs to contain 79 protons and 118 neutrons in the first 197 lines. And the same number in the following 197 lines. For every event you need to create 2 nuclei. It is crucial that your file contains enough nucleons for the number of events you want to simulate.
./smash -i INPUT_DIR/custom_nucleus/config.yaml