I am running a transient case and am outputting transient statistics for certain variables.
I know I can get transient averages of parameters such as pressure and density.
Is it possible to get transient averages of pressure or density gradients? (Pressure.Gradient X.trnavg, etc.)?
You can accomplish this by going through an algebraic variable intermediate. For example, for the pressure gradient, you could define a vector algebraic additional variable named, say, pg with components Pressure.Gradient X, Pressure.Gradient Y, and Pressure.Gradient Z. You can then define transient statistics for vector variable pg and will then see the trnavg for the pressure gradients components and magnitude in the results file. 

