Brain artery model simulates cerebral function