Functions are defined for velocity components and stream function