# Code checking list

Huichao Song, 05/07/2008 (edited by U. Heinz 06/06/2008)

Here is the code-checking list that Kevin and I discussed last week at the BNL hydro workshop. I just wrote it down for discussion. If you feel that we need to check more details or change the checking procedures, please send an email with your suggestions to all parties involved.

To facilitate presentation of code verification checks, anyone posting a figure should also provide a link where the data files can be downloaded from which the figure was created. Then others can later plot their curves together with the already existing ones and update the old plot with a new version that includes their curves. Each figure should be accompanied by a few lines of text explaining what is plotted and, if applicable, how it was calculated.

**All unpublished figures should be stamped "TECHQM preliminary, not to be shown" to avoid wholesale pirating.**

**Here is the plan:**

We will compare results from ideal and viscous hydro for **2 different equations of state**:

**A)**ideal EoS (EOS I, )

**B)**an EoS connecting QGP and HRG phases with a first order phase transition (EoS Q).

For simplicity we begin with EoS I, . EOS Q will be tabulated, with a link to the table to be posted here at a later time.

**Initial and final conditions:**

- We study
**Au+Au**(A=197) at**fm**and**fm**.

- We use identical initial conditions for ideal viscous hydro.

- We start the evolution at time
**fm/c**with zero transverse flow velocity.

- The initial transverse
**energy density**profile is taken to be**proportional to**the transverse density of**wounded nucleons**calculated from the Glauber model according to Eq. (11) in arXiv:0712.3715. We use**mb**for the nucleon-nucleon cross section. The nuclear thickness function is calculated with a Saxon-Woods nuclear density profile with saturation density**/fm**3**, radius**fm**, and surface thickness**fm**.

- The constant of proportionality is chosen such that in central collisions (b=0) the peak energy density in the fireball center
**GeV/fm**. (This corresponds roughly to RHIC collisions at , and to a peak temperature in the fireball center of MeV.)

- For the viscous pressure tensor we assume Navier-Stokes initial conditions corresponding to boost-invariant longitudinal expansion with vanishing transverse flow: .

- We decouple on a surface of constant temperature
**MeV**. For EOS I, we assume 2.5 massless quark flavor degrees of freedom (with degeneracy 2x2x3 for spin x (particle+antiparticle) x color) and 16 gluon degrees of freedom, so MeV corresponds to GeV/fm for EOS I.

- We compute spectra and elliptic flow for directly emitted pions, kaons and protons, neglecting resonance decay contributions. (We will change this later when we test the resonance decay algorithm.)

- We assume zero baryon and isospin (charge) chemical potentials and (in EOS Q) assume chemical equilibrium at all temperatures in the hadron gas phase.

- The viscous hydro runs are done with
**and****. In order to avoid instability problems caused by relatively large viscous effects in the very dilute tails of the energy density distribution,***we cut off the shear viscosity smoothly at large*by multiplying it with the function**with****fm**and**fm**.

- We neglect bulk viscosity.

**Things to be graphed for comparison:**

- time evolution of momentum anisotropy (note definition:
**(standard integral over transverse plane)):**

-- total momentum anisotropy: **
**

-- ideal fluid (flow) contribution to momentum anisotropy:

-- (here ** is the ideal fluid part of the energy momentum tensor)
**

- surfaces of constant temperature
**in the plane () or in the and planes ( fm).**

- -spectra for gluons (EoS I, 16 gluon degrees of freedom) or directly emitted (EoS Q)). Gluon and pion spectra are evaluated using the Bose-Einstein distribution, all other hadron spectra are calculated with Boltzmann distributions.

- total final multiplicity of gluons (EOS I) or directly emitted (EOS Q)

- differential elliptic flow and -integrated for gluons (EoS I) or directly emitted (EoS Q)

*2. Other quantities:*

- time evolution of the average transverse velocity
**(note definition:****(integral over transverse plane with Lorentz contracted energy density as weight function))**

- velocity profiles along , and directions at different times = 1, 4, 8 fm/c

-- fm:

-- fm: and

- profiles of the shear pressure components along the , and di rections at different times = 1, 4, 8 fm/c

-- fm: and , etc.

-- fm: and , etc.

- velocity and shear pressure tensor profiles along the freeze-out surface:

-- fm: , , , etc.

-- fm: , , and , etc.

-- (Note that along the freeze-out surface x, y and r are functions of freeze-out time, shown in the freeze-out surface above)

To address this question and the sensitity of viscous hydro results on parameters of the 2nd order theories such as the relaxation time , let us follow the procedure introduced in arXiv:0805.1756: we compute the time evolution of the total momentum anisotropy from viscous hydro for different relaxation times and plot the value of at a fixed time, say fm/c, against . In arXiv:0805.1756 it was found that for the "simplified" and "full" Israel-Stewart equations these plots were linear (although with opposie slopes) and, for , extrapolated to the same values. Similar plots should be done for all other 2nd order formulations, such as Oettinger-Grmela used by KD+DT, to check sensitivity to the parameters in front of the 2nd order terms and convergence of the theory to the same Navier-Stokes limit.