An intravascular bioartificial pancreas device (iBAP) with silicon nanopore membranes (SNM) for islet encapsulation under convective mass transport.