3D printed flow battery