Researchers have developed a new methodology for building computer models that paves the way to better understanding the flood risks faced by coastal communities.