On tridimensional rip current modeling