Flow control and optimization Navier-Stokes equations and related flows mathematics