The tidally induced warping, precession and truncation of accretion discs in binary systems: three-dimensional simulations | Synapse