I have a 2D vector $\boldsymbol{u}$ and it's norm is $\lambda$. I have this function: $$\boldsymbol{T}=\dfrac{\boldsymbol{u}}{\lambda} e^\lambda$$ I need to compute $\boldsymbol{T}$ and it's Jacobean around zero as part of my Newton finite element problem.
The function is poorly defined around 0 and this is causing divergence issues.
This problem is closely associated to the fenics Cohisve zone model example except that I am looking to use the law above when fracture starts to happen and not prior. At that instant $\boldsymbol{u}$ and $\lambda$ are close to 0.
The literature uses laws like these but as far as I know, it is not explained how one could work around this issue.