Finite elements in fluid mechanics compressible flow, shallow water equations and transport