One method that you can use to separate palm oil and water is decanting. In this process, you allow the oil to float on top of the water, and then you pour off the oil.
Decanting is only possible for two liquids, such as palm oil and water, when they are immiscible, which means you cannot mix them. By means of gravity alone, water and palm oil separate, owing to the difference between their densities. You can do this with a simple decanter or with a test tube, but this method takes a long time. A centrifuge greatly hastens decanting by increasing the force of gravity.