Studies on groundwater flow system with saltwater-freshwater interface