Text this: Modeling of flows under dams using the method of singular points