Computer simulation of arterial flow with applications to arterial and aortic stenoses