Nonlinear dynamics of partially incoherent optical waves based on the Wigner transform method