Developing a modelling tool for density-driven flow in complex hydrogeological structures