Process applicable either to preparing or to regenerating or to rehabilitating catalyst or sorbent