  It has been shown in previous works that an optimal control formulation for
an incompressible ideal fluid flow yields Euler's fluid equations. In this
paper we consider the modified Euler's equations by adding a potential function
playing the role of a barrier function in the corresponding optimal control
problem with the motivation of studying obstacle avoidance in the motion of
fluid particles for incompressible ideal flows of an inviscid fluid From the
physical point of view, imposing an artificial potential in the fluid context
is equivalent to generating a desired pressure. Simulation results for the
obstacle avoidance task are provided.
