You can't create a device in this way. The entire concept of the device configuration is based on the fact that the electrodes are a periodic (1d, 2d, or 3d) bulk crystal, so a system without inherent periodicity is only a starting point for the central region, but you also need electrodes. Without knowing anything more about your system we can't help in any details, but possible options are to make a repetition of what you have and call the outer parts electrodes, or you can add perfect electrodes to the edges of your system.
To assist further we would have to know at least a little bit about the system you are trying to construct.