Modeling dislocation sources and plastic flow through grain boundaries in mesoscopic field dislocation mechanics