The non-linear fluid dynamics of a warped accretion disc