Numerical grid generation in arbitrary surfaces through a second-order differential-geometric model