A Galerkin‐finite element technique for calculating the transient position of the saltwater front