Three-dimensional computational fluid dynamics simulations of interfacial flows with surfactants