G1
and G2
are symbolic expressions, that can be used in variational forms. They are not easily printed, as it requires code generation to get expressions for them. What you can do is a projection of each of them to a function space (say DG-1), and visualize them in Paraview, similar to: How to plot normal unit vector of faces in a 2D mesh? - #4 by dokken