A condition for ignition at the stagnation point on a heated curved wall