Foam separation of active carbon