Finite element mesh adjusted to singularities applied to axisymmetric and plane flow