aspect icon indicating copy to clipboard operation
aspect copied to clipboard

change composite vep to log iteration

Open bobmyhill opened this issue 1 year ago • 5 comments

This PR changes the iterative scheme for the composite viscoplastic rheology to use the log stress and strain rate. This should be a more linear system and therefore be more efficient.

bobmyhill avatar Jul 15 '23 08:07 bobmyhill

/rebuild

bobmyhill avatar Jul 15 '23 08:07 bobmyhill

Hi @naliboff, after I fix the bug, this will do the same thing as @lhy11009's change to Peierls. It will be marginally more expensive, but not sufficient to need a further change

bobmyhill avatar Jul 15 '23 17:07 bobmyhill

@bobmyhill, I agree with @bobmyhill , this is really neat solution.

lhy11009 avatar Jul 16 '23 21:07 lhy11009

Ok, the problem here is with the (damped) Drucker-Prager, where dln(strain_rate) / dln(stress) = stress / (stress - yield_stress). At the yield stress, this value is undefined. For the undamped scheme, the strain rate is also non-unique above the yield stress, making the problem worse.

With a damped plastic element there is always a unique stress for any given strain rate, but a naive Newton scheme without line search is going to struggle to find it. With an undamped plastic element an iterative scheme is not required; if the plastic element is active then it accommodates all the strain - so this would be easy enough to implement.

Not sure what the best solution is to this problem. Line search (e.g. using SUNDIALS) would certainly help. Maybe there's another option.

FYI: @lhy11009, @naliboff

bobmyhill avatar Jul 28 '23 14:07 bobmyhill