A 2D hydrodynamic simulation code for the calculation od d+d fusion reaction in laser generated plasma