Re: [deal.II] automatic differentiation:

2022-08-11 Thread Jean-Paul Pelteret
Hi Simon, Sorry that I didn't get back to you on this before now. I think that I get the gist of what you're trying to do, but I must admit that I'm a bit skeptical as to whether or not its going to work (the AD framework was not really conceptualised to be used in this manner, so it will be

Re: [deal.II] fourth-order referential deviatoric tensor Dev_P: why is 'S' used in the definition?

2022-08-11 Thread Jean-Paul Pelteret
Hi Simon, If you compare Holzapfel's definition with that of Wriggers, for instance, one notices the difference in how they define this 4th-order identity tensor. This particular term comes from the derivative d*C*/d*C* (i.e. differentiating a [symmetric] tensor w.r.t itself), and if you do

Re: [deal.II] Installation problem using spack

2022-08-11 Thread Jean-Paul Pelteret
Hi Marco, I've open a PR in Spack (https://github.com/spack/spack/pull/32079) that backports the patches that we added to the development version to 9.4. Feel free to try it and provide some feedback as to whether or not it works for you. Best, Jean-Paul On Thursday, August 11, 2022 at

Re: [deal.II] mesh_generator

2022-08-11 Thread LY XXXiao
Dear prof. Bangerth, Thank you so much for your help. Yes, I tested the make_grid part on a separate sheet. As long as my size is 41*41*37, the time cost did not go down, i.e. approx. 90-110 s. However, your solution 'coarse mesh + global refinement' did help, now it only cost 20s :) Thanks