Parallel simulation of three-dimensional complex flows: Application to two-phase compressible flows and turbulent wakes