Phase Oscillator-Based Modeling And Optimal Control Of Fluid Flows