A heterogeneous approach for modelling blood flow in an arterial segment