St Thomas is thinking of such a rite as that described in 3 (1) Kings xviii, 26-28.
Of God and His Creatures: 3.119