Shallow water equations in a two dimensional domain