Flash sintering of complex shapes