Separating oil and gas with a centrifuge device