On 4/4/25 10:25, Sclah wrote:
**

Yes! Thank you very much, I was indeed missing the mathematical derivation.
I better checked my computations and I actually need:
/div([I + grad(u)]^{-T})/ instead of /div([I + grad(u)]^{-1})/  but following your steps that leads to a similar result:
/div([I + grad(u)]^{-T})  = - Finv [grad(grad(u)^T)] Finv/
Then I guess that using get_function_hessians() on /u/ is what I need to assemble correctly my weak form.

Yes. I imagine you're aware of that, but if you're using the usual set of finite elements, the gradient is discontinuous and so the second derivatives are not defined at cell interfaces; in general, the second derivative of the finite element solution is a poor approximation of the second derivative of the exact solution. (In the extreme case, if you were using linear elements on triangles, then the gradient is constant and the second derivative is always zero.)

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/4b1a8b9b-8f06-445d-8a1f-e69ec74596c1%40colostate.edu.

Reply via email to