Simulations of 3D detectors