Automatic grid generation of complex geometries in Cartesian co‐ordinates