I've been trying to get some intuition for flat morphisms. One fact I'm familiar with that has helped me understand this common phrase "flatness is the algebraic notion corresponding to fibers varying nicely" is the following. "If $X\rightarrow Y $ is a flat morphism between varieties then it's open and the fibers have constant dimension".
If I have a map of varieties $X\rightarrow Y$ that is open with fibers of constant dimension then is there another condition I could impose on the map to guarantee flatness? Ideally condition which can be explained geometrically.