Numerical Integration of Fluid Dynamic Problems by Discrete Passive Dynamical Systems