Numerical treatment of boundary conditions to replace lateral branches in haemodynamics