I am developing a finite element software for geophysics applications.
I am facing difficulties in the computation of the boundary integral. According to literature, if the Neumann boundary conditions are not specified, the fluxes should be computed from the current value of the solution. In viscous flux term we need the global derivatives of shape functions to obtain the velocity derivatives. How to compute that on the face of a 3D element where we have the mapping (\xi, \eta) -> (x, y, z)?
I was able to compute the Jacobian determinant, but I do not know how to compute the global derivatives of the shape functions.
Any hint or suggestion would be a great help to me.
Thank you very much,
Antonella Longo