SIMULATION OF THREE-DIMENSIONAL INCOMPRESSIBLE CAVITY FLOWS